]> git.lyx.org Git - features.git/commitdiff
fix compile
authorJohn Levon <levon@movementarian.org>
Wed, 2 Apr 2003 18:48:34 +0000 (18:48 +0000)
committerJohn Levon <levon@movementarian.org>
Wed, 2 Apr 2003 18:48:34 +0000 (18:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6687 a592a061-630c-0410-9148-cb99ea01b6c8

src/text2.C

index b195f958fa091de9a8d48832c81493cc57f10e9c..4e33c6e43a8c263b467144ebd30a5c090ae6702d 100644 (file)
@@ -474,7 +474,7 @@ void LyXText::incDepth()
 
        int prev_after_depth = 0;
 #warning parlist ... could be nicer ?
-       if (&(*start) != ownerParagraph())
+       if (start != ownerParagraphs().begin())
                prev_after_depth = boost::prior(start)->getMaxDepthAfter();
 
        while (true) {