]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / TocBackend.cpp
index 00a55a987097d56475c809145c5bf1daa6e098a1..4c5bdb00f363610aa42a7e845bbdd00b3582d9d1 100644 (file)
@@ -133,8 +133,9 @@ void TocBackend::updateItem(ParConstIterator const & par_it)
        }
 
        int const toclevel = toc_item->par_it_->layout()->toclevel;
-       if (toclevel != Layout::NOT_IN_TOC && toclevel >= min_toclevel
-               && tocstring.empty()) 
+       if (toclevel != Layout::NOT_IN_TOC
+           && toclevel >= min_toclevel
+               && tocstring.empty())
                        tocstring = toc_item->par_it_->asString(*buffer_, true);
 
        const_cast<TocItem &>(*toc_item).str_ = tocstring;