]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetpagebreak.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetpagebreak.h
index b1def5c91af7e630e060cde3f3d5680d256f1ec4..758e6f229223e4030fddb44e1b70b17980118c2e 100644 (file)
@@ -23,20 +23,20 @@ class InsetPagebreak : public InsetOld {
 public:
        InsetPagebreak() {}
 
-       InsetBase::Code lyxCode() const { return InsetBase::LINE_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::PAGEBREAK_CODE; }
 
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
 
        void draw(PainterInfo & pi, int x, int y) const;
 
-       virtual int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+       int latex(Buffer const &, odocstream &,
+                 OutputParams const &) const;
 
        int plaintext(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                     OutputParams const &) const;
 
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
 
        void read(Buffer const &, LyXLex & lex);