]> git.lyx.org Git - lyx.git/blobdiff - src/toc.C
mathed uglyfication
[lyx.git] / src / toc.C
index 8861cc4c083863b1b2e25ee73d9ff872867dd00d..f9080e0143187bc4f0109cf78f2cf9e27e385a7a 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -30,6 +30,7 @@
 using std::vector;
 using std::max;
 using std::ostream;
+using std::string;
 
 namespace lyx {
 namespace toc {
@@ -68,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();