Remove assertion accidentally added during the audit.

This commit is contained in:
Richard Heck 2013-04-26 10:42:45 -04:00
parent 1b1f8dd235
commit 78652c98c8

View File

@ -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);
}