]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insethfill.h
index 68d555f9236600c1fde0bdcedf4bb66832c63262..93974e6b5083cedeb5cae2b47823f6fc1c76f0ca 100644 (file)
@@ -20,8 +20,8 @@ public:
        ///
        InsetHFill();
        ///
-       virtual Inset * clone(Buffer const &, bool = false) const {
-               return new InsetHFill();
+       virtual Inset * clone() const {
+               return new InsetHFill;
        }
        ///
        string const getScreenLabel(Buffer const *) const { return getContents(); }
@@ -33,6 +33,10 @@ public:
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
+       int linuxdoc(Buffer const *, std::ostream &) const;
+       ///
+       int docbook(Buffer const *, std::ostream &, bool) const;
+       ///
        void write(Buffer const * buf, std::ostream & os) const;
        /// We don't need \begin_inset and \end_inset
        bool directWrite() const { return true; }