]> git.lyx.org Git - features.git/blobdiff - src/TocBackend.cpp
More cleanup from Andre.
[features.git] / src / TocBackend.cpp
index 4c5bdb00f363610aa42a7e845bbdd00b3582d9d1..10a1a931c0ba66915db924727ab01a57a6042408 100644 (file)
@@ -133,8 +133,7 @@ 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
+       if (toclevel != Layout::NOT_IN_TOC && toclevel >= min_toclevel
                && tocstring.empty())
                        tocstring = toc_item->par_it_->asString(*buffer_, true);