]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Update ANNOUNCE
[lyx.git] / src / TocBackend.cpp
index 5599e1f362313fc0e01278a7dd6282eb2309545d..9bd435f2f209283245b5ae9d7ad2ef9c7115a5ff 100644 (file)
@@ -32,6 +32,7 @@
 #include "support/convert.h"
 #include "support/debug.h"
 #include "support/docstream.h"
+#include "support/gettext.h"
 #include "support/lassert.h"
 #include "support/lstrings.h"
 
@@ -362,4 +363,11 @@ void TocBackend::writePlaintextTocList(string const & type,
 }
 
 
+docstring TocBackend::outlinerName(std::string const & type) const
+{
+       return translateIfPossible(
+           buffer_->params().documentClass().outlinerName(type));
+}
+
+
 } // namespace lyx