mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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.
|
// This should not happen, but if so, we take no chances.
|
||||||
LBUFERR(false, _("Invalid position."));
|
LYXERR0("Paragraph::getEndPosOfFontSpan: This should not happen!");
|
||||||
// Squash warning
|
return FontSpan(pos, pos);
|
||||||
return FontSpan();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user