* src/toc.C: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-03-27 05:58:10 +00:00
parent abe620d1ee
commit 1c02a697f4

View File

@ -69,11 +69,12 @@ void outline(OutlineOp mode, LCursor & cur)
do {
--dest;
toclevel = dest->layout()->toclevel;
} while(dest != bgn &&
(toclevel == LyXLayout::NOT_IN_TOC
} while(dest != bgn
&& (toclevel == LyXLayout::NOT_IN_TOC
|| toclevel > thistoclevel));
// Not found; do nothing
if (toclevel == LyXLayout::NOT_IN_TOC || toclevel > thistoclevel)
if (toclevel == LyXLayout::NOT_IN_TOC
|| toclevel > thistoclevel)
break;
pit_type const newpit = std::distance(bgn, dest);
pit_type const len = std::distance(start, finish);