]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.C
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insethfill.C
index 98d50abe5e60a3b3efa9f4d80978ea0a2b509058..47d75e0bc0aaac3e8f3c8b00dd125e761aea3990 100644 (file)
@@ -21,8 +21,8 @@ InsetHFill::InsetHFill()
 {}
 
 
-int InsetHFill::latex(Buffer const *, ostream & os, LatexRunParams const &,
-                     bool /*fs*/) const
+int InsetHFill::latex(Buffer const *, ostream & os,
+                     LatexRunParams const &) const
 {
        os << getCommand();
        return 0;
@@ -36,6 +36,19 @@ int InsetHFill::ascii(Buffer const *, ostream & os, int) const
 }
 
 
+int InsetHFill::linuxdoc(Buffer const *, std::ostream & os) const
+{
+       os << '\n';
+       return 0;
+}
+
+
+int InsetHFill::docbook(Buffer const *, std::ostream & os, bool) const
+{
+       os << '\n';
+       return 0;
+}
+
 void InsetHFill::write(Buffer const *, ostream & os) const
 {
        os << "\n\\hfill \n";