]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
fix warning
[lyx.git] / src / Paragraph.cpp
index 1a5ac5f6156fde62baa4e52c2faac176067f5be2..2baa9b922e9ae4703fd3524f86c776835c5c56a8 100644 (file)
@@ -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()