]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnewline.C
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetnewline.C
index c7a3adeee96d45cd28c7d24b199d1fb3104f067a..d3cc33a0dba3c719c7eca59f5682c16d1838cc2d 100644 (file)
@@ -62,16 +62,16 @@ int InsetNewline::ascii(Buffer const *, ostream & os, int) const
 }
 
 
-int InsetNewline::linuxdoc(Buffer const *, std::ostream &) const
+int InsetNewline::linuxdoc(Buffer const *, std::ostream & os) const
 {
-       /* FIXME */
+       os << '\n';
        return 0;
 }
 
 
-int InsetNewline::docbook(Buffer const *, std::ostream &, bool) const
+int InsetNewline::docbook(Buffer const *, std::ostream & os, bool) const
 {
-       /* FIXME */
+       os << '\n';
        return 0;
 }