]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_decorationinset.h
index 6d2a23b66193761d2ac3db5c0445a34913cc2215..f6ede8de733cedbd930592aaf7807df8686d9d09 100644 (file)
@@ -14,7 +14,6 @@
 #define MATH_DECORATIONINSET_H
 
 #include "math_nestinset.h"
-#include "support/std_string.h"
 
 
 class latexkeys;
@@ -25,8 +24,6 @@ public:
        ///
        explicit MathDecorationInset(latexkeys const * key);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
@@ -40,6 +37,7 @@ public:
        bool isScriptable() const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        bool upper() const;
        ///