]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPagebreak.cpp
Fix text frame drawing.
[lyx.git] / src / insets / InsetPagebreak.cpp
index 4a785e8d8587f98dbbd09a278e37fc7c085b5bc8..e75b08ffa6943f49f6a2e77042813014eddce7b7 100644 (file)
@@ -15,7 +15,7 @@
 #include "debug.h"
 #include "gettext.h"
 #include "Color.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 #include "TextMetrics.h"
@@ -28,9 +28,6 @@ namespace lyx {
 
 using frontend::Painter;
 
-using std::endl;
-using std::ostream;
-
 
 void InsetPagebreak::read(Buffer const &, Lexer &)
 {
@@ -38,7 +35,7 @@ void InsetPagebreak::read(Buffer const &, Lexer &)
 }
 
 
-void InsetPagebreak::write(Buffer const &, ostream & os) const
+void InsetPagebreak::write(Buffer const &, std::ostream & os) const
 {
        os << "\n" << getCmdName() << '\n';
 }
@@ -80,7 +77,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;
@@ -88,7 +85,7 @@ int InsetPagebreak::latex(Buffer const &, odocstream & os,
 
 
 int InsetPagebreak::plaintext(Buffer const &, odocstream & os,
-                              OutputParams const &) const
+                             OutputParams const &) const
 {
        os << '\n';
        return PLAINTEXT_NEWLINE;
@@ -96,7 +93,7 @@ int InsetPagebreak::plaintext(Buffer const &, odocstream & os,
 
 
 int InsetPagebreak::docbook(Buffer const &, odocstream & os,
-                            OutputParams const &) const
+                           OutputParams const &) const
 {
        os << '\n';
        return 0;