]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetSpecialChar.cpp
index b6f6b2ac83b438e9d6b0e951ceb8a64c9eaf0728..bc62e4e7651575325a969a37c71cd57326c75853 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "InsetSpecialChar.h"
 
-#include "support/debug.h"
 #include "Dimension.h"
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
@@ -23,6 +22,7 @@
 #include "frontends/FontMetrics.h"
 #include "frontends/Painter.h"
 
+#include "support/debug.h"
 #include "support/docstream.h"
 
 using namespace std;
@@ -287,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));
 }