]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parboxinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_parboxinset.h
index 9aae3c145036c8c08b97c9dec3411ce9960a09dd..b57a32d23c0486837696bda27cc7dae01a2ba55d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 #ifndef MATH_PARBOXINSET_H
 #define MATH_PARBOXINSET_H
 
@@ -13,11 +14,11 @@ public:
        ///
        MathParboxInset * asParboxInset() { return this; }
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///