]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetpagebreak.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetpagebreak.C
index 3be10572cf9c11741a68dae83aa3af3cff103325..c8a1ddeab1afc37be7667ac1b99bc5e56236a0d4 100644 (file)
@@ -17,6 +17,7 @@
 #include "LColor.h"
 #include "lyxtext.h"
 #include "metricsinfo.h"
+#include "outputparams.h"
 #include "TextMetrics.h"
 
 #include "frontends/FontMetrics.h"
@@ -79,7 +80,7 @@ void InsetPagebreak::draw(PainterInfo & pi, int x, int y) const
 
 
 int InsetPagebreak::latex(Buffer const &, odocstream & os,
-                         OutputParams const &) const
+                          OutputParams const &) const
 {
        os << from_ascii(getCmdName()) << "{}";
        return 0;
@@ -87,15 +88,15 @@ int InsetPagebreak::latex(Buffer const &, odocstream & os,
 
 
 int InsetPagebreak::plaintext(Buffer const &, odocstream & os,
-                         OutputParams const &) const
+                              OutputParams const &) const
 {
        os << '\n';
-       return 0;
+       return PLAINTEXT_NEWLINE;
 }
 
 
 int InsetPagebreak::docbook(Buffer const &, odocstream & os,
-                           OutputParams const &) const
+                            OutputParams const &) const
 {
        os << '\n';
        return 0;