X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetQuotes.cpp;h=98ed950521898f1e8b1f5df9f1de8b755759574c;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=f764becb9ea4ab23bc7b8da758f6ace13241f15f;hpb=14918bf4b92d00d241319acfc80a40620fae7881;p=lyx.git diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index f764becb9e..98ed950521 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -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" @@ -27,19 +26,16 @@ #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;