diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 1a5ac5f615..2baa9b922e 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -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()