git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-09-29 09:33:36 +00:00
parent 508ac52ac0
commit 0442417d22
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ void Text::setInsetFont(BufferView const & bv, pit_type pit,
// return past-the-last paragraph influenced by a layout change on pit
pit_type Text::undoSpan(pit_type pit)
{
pit_type end = paragraphs().size();
pit_type const end = paragraphs().size();
pit_type nextpit = pit + 1;
if (nextpit == end)
return nextpit;

View File

@ -344,7 +344,7 @@ void GuiParagraph::dispatchParams()
bool GuiParagraph::haveMultiParSelection()
{
Cursor cur = bufferview()->cursor();
Cursor const & cur = bufferview()->cursor();
return cur.selection() && cur.selBegin().pit() != cur.selEnd().pit();
}