]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_symbolinset.h
index ebda7fc20f2d4e9ab8d67aeb4c04f60cbdce1fd8..d25260409a9ff174a421a6f8bf484ec7eb9ac054 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "math_inset.h"
 
-struct latexkeys;
+class latexkeys;
 
 
 /** "normal" symbols that don't take limits and don't grow in displayed
@@ -29,8 +29,6 @@ public:
        ///
        explicit MathSymbolInset(std::string const & name);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
@@ -68,6 +66,7 @@ public:
        void infoize2(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        latexkeys const * sym_;
        ///