]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
* There are cases where updateLabels is not called because no
[lyx.git] / src / TocBackend.cpp
index 27f4623584313f40334acaa0f879ab826d0cbfa2..8646bc504869b86d6148f5111883ad58eff3a294 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "support/debug.h"
 #include "FloatList.h"
 #include "FuncRequest.h"
 #include "InsetList.h"
 #include "insets/InsetOptArg.h"
 
 #include "support/convert.h"
-#include "support/docstring.h"
+#include "support/debug.h"
+#include "support/docstream.h"
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 
@@ -83,7 +83,7 @@ FuncRequest TocItem::action() const
 //
 ///////////////////////////////////////////////////////////////////////////
 
-Toc const & TocBackend::toc(std::string const & type) const
+Toc const & TocBackend::toc(string const & type) const
 {
        // Is the type already supported?
        TocList::const_iterator it = tocs_.find(type);
@@ -189,7 +189,7 @@ void TocBackend::update()
 }
 
 
-TocIterator const TocBackend::item(std::string const & type,
+TocIterator const TocBackend::item(string const & type,
                ParConstIterator const & par_it) const
 {
        TocList::const_iterator toclist_it = tocs_.find(type);