mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
more appropriate behaviour on assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26233 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
68c1719929
commit
3a5e4ab8ca
@ -95,7 +95,7 @@ void RowPainter::paintInset(Inset const * inset, pos_type const pos)
|
||||
{
|
||||
Font const font = text_metrics_.displayFont(pit_, pos);
|
||||
|
||||
LASSERT(inset, /**/);
|
||||
LASSERT(inset, return);
|
||||
// Backup full_repaint status because some insets (InsetTabular)
|
||||
// requires a full repaint
|
||||
bool pi_full_repaint = pi_.full_repaint;
|
||||
|
Loading…
Reference in New Issue
Block a user