]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTabular.h
* src/frontends/GuiDocument.{cpp,h}:
[lyx.git] / src / mathed / InsetMathTabular.h
index 1d591924a53d23a32d7032a651ba060613580e3d..d6c5bbac159f8b72dc239654de8518f0afb70d41 100644 (file)
@@ -29,7 +29,9 @@ public:
        ///
        InsetMathTabular(docstring const &, char valign, docstring const & halign);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       ///
+       Dimension const dimension(BufferView const &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -47,7 +49,7 @@ public:
        void maple(MapleStream &) const;
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring name_;
 };