]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
rename InsetBase to Inset
[lyx.git] / src / mathed / InsetMathComment.h
index 184c7bd1426fd25c96f6cb9e7327e22902fdf293..f084bb52b76acd465fd738956a19d52e645a7bc9 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        explicit InsetMathComment(docstring const &);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -48,7 +48,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
 } // namespace lyx