fix compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6687 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-04-02 18:48:34 +00:00
parent e9eb69c5b4
commit 0d37898b39

View 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) {