]> git.lyx.org Git - features.git/commitdiff
revert faulty commit.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 30 Sep 2008 10:07:22 +0000 (10:07 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 30 Sep 2008 10:07:22 +0000 (10:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26638 a592a061-630c-0410-9148-cb99ea01b6c8

src/TocBackend.cpp

index 85a4a8a707ff1c19975071ea41956184b01c1656..4ffa35571b5c2cc7d682a0c716191e7bb42b2cca 100644 (file)
@@ -106,8 +106,6 @@ Toc & TocBackend::toc(string const & type)
 
 bool TocBackend::updateItem(DocIterator const & dit)
 {
-//     Inset * inset = dit.paragraph().inInset();
-//     inset->addToToc(dit);
        if (dit.paragraph().layout().toclevel == Layout::NOT_IN_TOC)
                return false;