From: John Levon Date: Wed, 2 Apr 2003 18:48:34 +0000 (+0000) Subject: fix compile X-Git-Tag: 1.6.10~17076 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0d37898b3940e280fabd5aaaac6879849bef626e;p=features.git fix compile git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6687 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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) {