]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewpage.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetNewpage.cpp
index 0f718c2979a1b357bd5935171e6d826eed03c351..b0e290600184852276acd6c51bbeeb15225d9f8c 100644 (file)
@@ -213,7 +213,7 @@ ColorCode InsetNewpage::ColorName() const
 }
 
 
-int InsetNewpage::latex(odocstream & os, OutputParams const &) const
+void InsetNewpage::latex(otexstream & os, OutputParams const &) const
 {
        switch (params_.kind) {
                case InsetNewpageParams::NEWPAGE:
@@ -232,7 +232,6 @@ int InsetNewpage::latex(odocstream & os, OutputParams const &) const
                        os << "\\newpage{}";
                        break;
        }
-       return 0;
 }
 
 
@@ -257,7 +256,7 @@ docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const
 }
 
 
-docstring InsetNewpage::contextMenu(BufferView const &, int, int) const
+docstring InsetNewpage::contextMenuName() const
 {
        return from_ascii("context-newpage");
 }