mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +00:00
Fix #10887 compiler warnings.
This commit is contained in:
parent
8a1377f6ff
commit
05c876568a
@ -751,7 +751,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e)
|
|||||||
if (inset && inset->asInsetMath())
|
if (inset && inset->asInsetMath())
|
||||||
--pos.rx();
|
--pos.rx();
|
||||||
else if (cur.pos() > 0) {
|
else if (cur.pos() > 0) {
|
||||||
Inset * inset = cur.paragraph().getInset(cur.pos() - 1);
|
inset = cur.paragraph().getInset(cur.pos() - 1);
|
||||||
if (inset)
|
if (inset)
|
||||||
++pos.rx();
|
++pos.rx();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user