X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetSpecialChar.cpp;h=bc62e4e7651575325a969a37c71cd57326c75853;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=0463795ee1210df7279b7b2d904edaab2c116365;hpb=61e164382152347f34207e1c020f6bff0eb33a6e;p=lyx.git diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp index 0463795ee1..bc62e4e765 100644 --- a/src/insets/InsetSpecialChar.cpp +++ b/src/insets/InsetSpecialChar.cpp @@ -14,7 +14,6 @@ #include "InsetSpecialChar.h" -#include "support/debug.h" #include "Dimension.h" #include "LaTeXFeatures.h" #include "Lexer.h" @@ -23,12 +22,12 @@ #include "frontends/FontMetrics.h" #include "frontends/Painter.h" +#include "support/debug.h" #include "support/docstream.h" -namespace lyx { +using namespace std; -using std::string; -using std::ostream; +namespace lyx { InsetSpecialChar::InsetSpecialChar(Kind k) @@ -288,10 +287,9 @@ int InsetSpecialChar::docbook(Buffer const &, odocstream & os, } -int InsetSpecialChar::textString(Buffer const & buf, odocstream & os, - OutputParams const & op) const +void InsetSpecialChar::textString(Buffer const & buf, odocstream & os) const { - return plaintext(buf, os, op); + plaintext(buf, os, OutputParams(0)); }