]> git.lyx.org Git - lyx.git/blobdiff - src/toc.C
mathed uglyfication
[lyx.git] / src / toc.C
index e01daf85f7867446844e4b6bf8b3c3e322e4457d..f9080e0143187bc4f0109cf78f2cf9e27e385a7a 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -69,7 +69,6 @@ TocList const getTocList(Buffer const & buf)
        TocList toclist;
 
        BufferParams const & bufparams = buf.params();
-       LyXTextClass const & textclass = bufparams.getLyXTextClass();
 
        ParConstIterator pit = buf.par_iterator_begin();
        ParConstIterator end = buf.par_iterator_end();