mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
const fixes and alway generate/run latex on view/update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@787 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
88957e028d
commit
532141facf
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2000-06-01 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* src/lyx_cb.C (MakeLaTeXOutput): we run MakeLaTeXOutput regard
|
||||
less of dvi dirty or not.
|
||||
|
||||
* src/trans_mgr.[Ch] (insert): change first parameter to string
|
||||
const &.
|
||||
|
||||
* src/chset.[Ch] (encodeString): add const to first parameter
|
||||
|
||||
2000-05-31 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* src/support/lyxstring.C (begin): fix a "shared" string bug. use
|
||||
|
@ -62,7 +62,7 @@ bool CharacterSet::loadFile(string const & fname)
|
||||
}
|
||||
|
||||
|
||||
pair<bool, int> CharacterSet::encodeString(string & str) const
|
||||
pair<bool, int> CharacterSet::encodeString(string & const str) const
|
||||
{
|
||||
lyxerr[Debug::KBMAP] << "Checking if we know [" << str << "]" << endl;
|
||||
bool ret = false;
|
||||
|
@ -19,7 +19,7 @@ public:
|
||||
///
|
||||
string const & getName() const;
|
||||
///
|
||||
std::pair<bool, int> encodeString(string &) const;
|
||||
std::pair<bool, int> encodeString(string const &) const;
|
||||
private:
|
||||
///
|
||||
string name_;
|
||||
|
@ -409,10 +409,10 @@ int MakeLaTeXOutput(Buffer * buffer)
|
||||
if (lyxrc.use_tempdir || (IsDirWriteable(path) < 1)) {
|
||||
path = buffer->tmppath;
|
||||
}
|
||||
if (!buffer->isDviClean()) {
|
||||
//if (!buffer->isDviClean()) {
|
||||
Path p(path);
|
||||
ret = MenuRunLaTeX(buffer);
|
||||
}
|
||||
//}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -300,7 +300,7 @@ void TransManager::insertVerbatim(string const & str, LyXText * text)
|
||||
}
|
||||
|
||||
|
||||
void TransManager::insert(string str, LyXText * text)
|
||||
void TransManager::insert(string const & str, LyXText * text)
|
||||
{
|
||||
// Go through the character encoding only if the current
|
||||
// encoding (chset_->name()) matches the current font_norm
|
||||
|
@ -147,7 +147,7 @@ private:
|
||||
///
|
||||
CharacterSet chset_;
|
||||
///
|
||||
void insert(string, LyXText *);
|
||||
void insert(string const &, LyXText *);
|
||||
///
|
||||
void insertVerbatim(string const &, LyXText *);
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user