]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Coding style
[lyx.git] / src / mathed / InsetMathSpace.h
index abb7129ee7483cc34f7155b67bdaca3d36ea0283..579f29a3ab104ea675b33002504e33a254a2bea5 100644 (file)
@@ -32,7 +32,7 @@ public:
        ///
        void incSpace();
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -49,9 +49,11 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        int space_;
+       ///
+       Dimension dim_;
 };