]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_kerninset.h
float2string #4 (Spacing)
[lyx.git] / src / mathed / math_kerninset.h
index 8d40cf27b31240dd52f950377b8321dd760708dc..48d50638b817ea07a3ef28e8f410b66bb4313c50 100644 (file)
@@ -13,9 +13,7 @@
 #define MATH_CHEATINSET_H
 
 #include "math_inset.h"
-#include "vspace.h"
-#include "support/std_string.h"
-#include "math_nestinset.h"
+#include "lyxlength.h"
 
 
 /// The \kern primitive
@@ -28,9 +26,7 @@ public:
        ///
        explicit MathKernInset(LyXLength const & wid);
        ///
-       explicit MathKernInset(string const & wid);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathKernInset(std::string const & wid);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -40,6 +36,7 @@ public:
        ///
        void normalize(NormalStream & ns) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// width in em
        LyXLength wid_;
 };