]> git.lyx.org Git - features.git/commitdiff
more appropriate behaviour on assert
authorAndré Pönitz <poenitz@gmx.net>
Sun, 24 Aug 2008 21:24:21 +0000 (21:24 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sun, 24 Aug 2008 21:24:21 +0000 (21:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26233 a592a061-630c-0410-9148-cb99ea01b6c8

src/rowpainter.cpp

index 6d56c27b60db69ccbb6743e91c3930cc8d68000e..98e79de4980cd3a69f8731fda85e112f845d5cb7 100644 (file)
@@ -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;