whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-04 09:42:03 +00:00
parent 07bfd64255
commit e94eb6bed6
3 changed files with 4 additions and 7 deletions

View File

@ -261,8 +261,7 @@ int InsetQuotes::latex(Buffer const * buf, ostream & os,
#if 0
// This cannot be used. (Lgb)
string const curr_lang =
parOwner()->getFont(buf->params,
curr_pos).language()->babel();
parOwner()->getFont(buf->params, curr_pos).language()->babel();
#else
// And this is not the way... (Lgb)
string const curr_lang = buf->params.language->lang();

View File

@ -520,7 +520,7 @@ bool InsetTabular::updateInsetInInset(BufferView * bv, InsetOld * inset)
{
InsetOld * tl_inset = inset;
// look if this inset is really inside myself!
while(tl_inset->owner() && tl_inset->owner() != this)
while (tl_inset->owner() && tl_inset->owner() != this)
tl_inset = tl_inset->owner();
// if we enter here it's not ower inset
if (!tl_inset->owner())

View File

@ -1199,10 +1199,8 @@ void LyXText::updateCounters()
string const & newLabel = pit->params().labelString();
if (oldLabel.empty() && !newLabel.empty()) {
removeParagraph(rowit);
appendParagraph(rowit);
}
if (oldLabel != newLabel)
redoParagraph(pit);
}
}