]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathBig.h
index 5c2bbb80f5d6d92ec8d36fec623e1365166caab9..2736669b58628a87060af6f616c2c83b4594a2de 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef MATH_BIGINSET_H
 #define MATH_BIGINSET_H
 
-#include "InsetMathDim.h"
+#include "InsetMath.h"
 
 #include <string>
 
 namespace lyx {
 
 /// Inset for \\bigl & Co.
-class InsetMathBig : public InsetMathDim {
+class InsetMathBig : public InsetMath {
 public:
        ///
        InsetMathBig(docstring const & name, docstring const & delim);
        ///
        docstring name() const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -40,7 +40,7 @@ public:
        static bool isBigInsetDelim(docstring const &);
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        size_type size() const;
        ///