]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / mathed / InsetMathKern.h
index 218278de92523fc73d7843af5165cdfe0e74183b..8a1e3ee04770031e936c2d73925b3b595bbe9244 100644 (file)
@@ -13,7 +13,7 @@
 #define MATH_CHEATINSET_H
 
 #include "InsetMath.h"
-#include "lyxlength.h"
+#include "Length.h"
 
 
 namespace lyx {
@@ -27,7 +27,7 @@ public:
        ///
        InsetMathKern();
        ///
-       explicit InsetMathKern(LyXLength const & wid);
+       explicit InsetMathKern(Length const & wid);
        ///
        explicit InsetMathKern(docstring const & wid);
        ///
@@ -38,15 +38,10 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream & ns) const;
-       ///
-       int width() const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// width in em
-       LyXLength wid_;
-       /// in pixels
-       mutable int wid_pix_;
-
+       Length wid_;
 };