mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
constify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
508ac52ac0
commit
0442417d22
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user