]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetpagebreak.C
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetpagebreak.C
index 9521a4a04ae0a6dfd35ec18d6592c24948169c1d..d86a826be59a97c10767a61a616c3f40cd30a650 100644 (file)
@@ -33,7 +33,7 @@ void InsetPagebreak::read(Buffer const &, LyXLex &)
 
 void InsetPagebreak::write(Buffer const &, ostream & os) const
 {
-       os << "\n\\newpage \n";
+       os << "\n\\newpage\n";
 }
 
 
@@ -73,15 +73,15 @@ void InsetPagebreak::draw(PainterInfo & pi, int x, int y) const
 
 
 int InsetPagebreak::latex(Buffer const &, ostream & os,
-                         LatexRunParams const &) const
+                         OutputParams const &) const
 {
        os << "\\newpage{}";
        return 0;
 }
 
 
-int InsetPagebreak::ascii(Buffer const &, ostream & os,
-                         LatexRunParams const &) const
+int InsetPagebreak::plaintext(Buffer const &, ostream & os,
+                         OutputParams const &) const
 {
        os << '\n';
        return 0;
@@ -89,7 +89,7 @@ int InsetPagebreak::ascii(Buffer const &, ostream & os,
 
 
 int InsetPagebreak::linuxdoc(Buffer const &, std::ostream & os,
-                            LatexRunParams const &) const
+                            OutputParams const &) const
 {
        os << '\n';
        return 0;
@@ -97,7 +97,7 @@ int InsetPagebreak::linuxdoc(Buffer const &, std::ostream & os,
 
 
 int InsetPagebreak::docbook(Buffer const &, std::ostream & os,
-                           LatexRunParams const &) const
+                           OutputParams const &) const
 {
        os << '\n';
        return 0;