]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathDelim.h
index 61c230e4e9d4285d58dcdcf4a5d588459c17070b..3dbb39da00f0b3903f539d15398cfd6cefa118fa 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -40,7 +40,7 @@ public:
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -63,7 +63,7 @@ public:
        ///
        docstring right_;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        mutable int dw_;
 };