Compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2508 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-08-13 21:50:13 +00:00
parent 19f1292262
commit 44d8be16d0
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C: Compilation fix
2001-08-13 Juergen Vigna <jug@sad.it>
* inset.C (getMaxWidth): fixed bug of returning the wrong max width.

View File

@ -1929,7 +1929,7 @@ void InsetText::resizeLyXText(BufferView * bv, bool force) const
do_resize = bv;
return;
}
do_resize = false;
do_resize = 0;
// lyxerr << "InsetText::resizeLyXText\n";
if (!par->next() && !par->size()) // no data, resize not neccessary!
return;
@ -1977,7 +1977,7 @@ void InsetText::reinitLyXText() const
return;
}
do_reinit = false;
do_resize = false;
do_resize = 0;
// lyxerr << "InsetText::reinitLyXText\n";
for(Cache::iterator it = cache.begin(); it != cache.end(); ++it) {
lyx::Assert(it->second.text.get());