]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathEnv.h
index 7d73a875d52edd735e93de9b1b462397c506776f..38e6aeb203716698ce5cc14fe2f35dac17aca180 100644 (file)
@@ -32,12 +32,12 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void infoize(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// name of that environment
        docstring name_;
 };