]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathUnknown.h
index 9c8a81b19aac141578bdc4fa24223553d1ee0c4e..60146a34c22a30b2b4a3ff0e189031153e1a0798 100644 (file)
@@ -25,7 +25,7 @@ public:
        explicit InsetMathUnknown(docstring const & name,
                bool final = true, bool black = false);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -52,9 +52,9 @@ public:
        ///
        bool final() const;
        ///
-       int kerning() const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring name_;
        /// are we finished creating the name?