mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Remove assertion accidentally added during the audit.
This commit is contained in:
parent
1b1f8dd235
commit
78652c98c8
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user