From: Richard Heck Date: Fri, 26 Apr 2013 14:42:45 +0000 (-0400) Subject: Remove assertion accidentally added during the audit. X-Git-Tag: 2.1.0beta1~342 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=78652c98c8af2290492d969570a084ad58ec0c02;p=features.git Remove assertion accidentally added during the audit. --- 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); }