]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewpage.cpp
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetNewpage.cpp
index 91f27f3a467c5e8e75633504d09e62f8531cb9e2..b108885f9c522a37c386688f4afac930342a2057 100644 (file)
@@ -163,7 +163,7 @@ bool InsetNewpage::getStatus(Cursor & cur, FuncRequest const & cmd,
                        InsetNewpageParams params;
                        string2params(to_utf8(cmd.argument()), params);
                        status.setOnOff(params_.kind == params.kind);
-               } 
+               }
                status.setEnabled(true);
                return true;
        default:
@@ -255,9 +255,9 @@ int InsetNewpage::docbook(odocstream & os, OutputParams const &) const
 }
 
 
-docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const
+docstring InsetNewpage::xhtml(XMLStream & xs, OutputParams const &) const
 {
-       xs << html::CompTag("br");
+       xs << xml::CompTag("br");
        return docstring();
 }