]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetQuotes.cpp
index f764becb9ea4ab23bc7b8da758f6ace13241f15f..98ed950521898f1e8b1f5df9f1de8b755759574c 100644 (file)
@@ -15,7 +15,6 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
-#include "debug.h"
 #include "Dimension.h"
 #include "Language.h"
 #include "LaTeXFeatures.h"
 #include "frontends/FontMetrics.h"
 #include "frontends/Painter.h"
 
+#include "support/debug.h"
 #include "support/docstring.h"
+#include "support/docstream.h"
 #include "support/lstrings.h"
 
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::prefixIs;
-
-using std::endl;
-using std::string;
-using std::ostream;
-
-
 namespace {
 
 /* codes used to read/write quotes to LyX files
@@ -135,7 +131,7 @@ void InsetQuotes::getPosition(char_type c)
 
 void InsetQuotes::parseString(string const & s)
 {
-       string str(s);
+       string str = s;
        if (str.length() != 3) {
                lyxerr << "ERROR (InsetQuotes::InsetQuotes):"
                        " bad string length." << endl;