]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.C
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insethfill.C
index 2a01033757690873ac428725b5825e936df613b3..07007bd038e57d0b9be656e43021315aaf9403b1 100644 (file)
@@ -5,7 +5,7 @@
  *
  * \author André Pönitz
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -21,22 +21,35 @@ InsetHFill::InsetHFill()
 {}
 
 
-int InsetHFill::latex(Buffer const *, ostream & os,
-                     bool /*fragile*/, bool /*fs*/) const
+int InsetHFill::latex(Buffer const &, ostream & os,
+                     LatexRunParams const &) const
 {
        os << getCommand();
        return 0;
 }
 
 
-int InsetHFill::ascii(Buffer const *, ostream & os, int) const
+int InsetHFill::ascii(Buffer const &, ostream & os, int) const
 {
        os << '\t';
        return 0;
 }
 
 
-void InsetHFill::write(Buffer const *, ostream & os) 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";
 }