]> git.lyx.org Git - features.git/commitdiff
Forgotten to remove an assert I need to test.
authorJürgen Vigna <jug@sad.it>
Thu, 29 Nov 2001 14:08:19 +0000 (14:08 +0000)
committerJürgen Vigna <jug@sad.it>
Thu, 29 Nov 2001 14:08:19 +0000 (14:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3113 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/text2.C

index 9692cc281b2fffab5471f50b82f4e0a666af4783..f1750532da5d07833fa0d4cb633706836e6f7803 100644 (file)
@@ -1,5 +1,7 @@
 2001-11-29  Juergen Vigna  <jug@sad.it>
 
+       * text2.C (removeRow): remove the assert as it can!
+
        * lyxtext.h: added helper function firstRow returning firstrow and
        made firstrow private again.
 
index 1440f91c561c231dfe5469c97ac90dd470d44efa..3350c4367b97c1423733f840c6e97a7bc37dbac7 100644 (file)
@@ -391,7 +391,7 @@ void LyXText::removeRow(Row * row) const
                row->next()->previous(row->previous());
        if (!row->previous()) {
                firstrow = row->next();
-               lyx::Assert(firstrow);
+//             lyx::Assert(firstrow);
        } else  {
                row->previous()->next(row->next());
        }