]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Context.cpp
* Doxy: polish html output.
[lyx.git] / src / tex2lyx / Context.cpp
index a587401907a474a35c9b75ba732d1ed123da3b1d..e2cc1b5e704e771a303428bb7679ef62e0dec8bd 100644 (file)
@@ -18,6 +18,7 @@
 #include <iostream>
 
 using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
@@ -102,8 +103,8 @@ Context::Context(bool need_layout_,
 Context::~Context()
 {
        if (!extra_stuff.empty())
-               std::cerr << "Bug: Ignoring extra stuff '" << extra_stuff
-                         << '\'' << std::endl;
+               cerr << "Bug: Ignoring extra stuff '" << extra_stuff
+                         << '\'' << endl;
 }
 
 
@@ -204,9 +205,9 @@ void Context::new_paragraph(ostream & os)
 }
 
 
-void Context::add_extra_stuff(std::string const & stuff)
+void Context::add_extra_stuff(string const & stuff)
 {
-       if (!lyx::support::contains(extra_stuff, stuff))
+       if (!contains(extra_stuff, stuff))
                extra_stuff += stuff;
 }