]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRef.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathRef.h
index 7683ca587fafc13fe1736d227466fcc9ad4434bd..a31165e1c82a50b52fbd9a11174fa167830c7311 100644 (file)
@@ -38,7 +38,7 @@ public:
        virtual InsetMathRef * asRefInset() { return this; }
 
        /// docbook output
-       int docbook(Buffer const & buf, odocstream & os, OutputParams const &) const;
+       int docbook(odocstream & os, OutputParams const &) const;
        /// generate something that will be understood by the Dialogs.
        std::string const createDialogStr(std::string const & name) const;
 
@@ -62,7 +62,7 @@ protected:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
 private:
        ///
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };