mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Graceful assertion in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26414 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1070eeb9ac
commit
1199f092d4
@ -458,7 +458,7 @@ void Paragraph::insertInset(pos_type pos, Inset * inset,
|
||||
|
||||
bool Paragraph::eraseChar(pos_type pos, bool trackChanges)
|
||||
{
|
||||
LASSERT(pos >= 0 && pos <= size(), /**/);
|
||||
LASSERT(pos >= 0 && pos <= size(), return false);
|
||||
|
||||
// keep the logic here in sync with the logic of isMergedOnEndOfParDeletion()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user