From 78652c98c8af2290492d969570a084ad58ec0c02 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 26 Apr 2013 10:42:45 -0400 Subject: [PATCH] Remove assertion accidentally added during the audit. --- src/Paragraph.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 2a4d4e7c36..e5a469f5af 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -1850,9 +1850,8 @@ FontSpan Paragraph::fontSpan(pos_type pos) const } // This should not happen, but if so, we take no chances. - LBUFERR(false, _("Invalid position.")); - // Squash warning - return FontSpan(); + LYXERR0("Paragraph::getEndPosOfFontSpan: This should not happen!"); + return FontSpan(pos, pos); } -- 2.39.2