X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftoc.C;h=f9080e0143187bc4f0109cf78f2cf9e27e385a7a;hb=69bee02a8901793b34ac5ca6d07e93910cef4005;hp=8861cc4c083863b1b2e25ee73d9ff872867dd00d;hpb=2994fe551121614948dcb68d6f4953ee3bbb694d;p=lyx.git diff --git a/src/toc.C b/src/toc.C index 8861cc4c08..f9080e0143 100644 --- 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();