]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetvspace.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetvspace.C
index afb221aff28cc25295def2fab9f87d1cf48b3e06..72e152d0181c33847f7901cda5148fcb2c62e231 100644 (file)
@@ -22,6 +22,7 @@
 #include "lyxlex.h"
 #include "lyxtext.h"
 #include "metricsinfo.h"
+#include "outputparams.h"
 
 #include "frontends/FontMetrics.h"
 #include "frontends/Painter.h"
@@ -202,7 +203,7 @@ void InsetVSpace::draw(PainterInfo & pi, int x, int y) const
 
 
 int InsetVSpace::latex(Buffer const & buf, odocstream & os,
-                         OutputParams const &) const
+                       OutputParams const &) const
 {
        os << from_ascii(space_.asLatexCommand(buf.params())) << '\n';
        return 1;
@@ -210,15 +211,15 @@ int InsetVSpace::latex(Buffer const & buf, odocstream & os,
 
 
 int InsetVSpace::plaintext(Buffer const &, odocstream & os,
-                          OutputParams const &) const
+                           OutputParams const &) const
 {
        os << "\n\n";
-       return 2;
+       return PLAINTEXT_NEWLINE;
 }
 
 
 int InsetVSpace::docbook(Buffer const &, odocstream & os,
-                        OutputParams const &) const
+                         OutputParams const &) const
 {
        os << '\n';
        return 1;