From 0d37898b3940e280fabd5aaaac6879849bef626e Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 2 Apr 2003 18:48:34 +0000 Subject: [PATCH] fix compile git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6687 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/text2.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text2.C b/src/text2.C index b195f958fa..4e33c6e43a 100644 --- a/src/text2.C +++ b/src/text2.C @@ -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) { -- 2.39.2