]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xarrowinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_xarrowinset.h
index 70987f2aea7fbbc8d6a9081682a36944d5eeab8f..dd0a5b1e24a49b55ff5882e97124f0325f5c0826 100644 (file)
 #define MATH_XARROWINSET_H
 
 #include "math_fracbase.h"
-#include "LString.h"
 
 
 /// Wide arrows like \xrightarrow
 class MathXArrowInset : public MathFracbaseInset {
 public:
        ///
-       explicit MathXArrowInset(string const & name);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathXArrowInset(std::string const & name);
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -33,9 +30,10 @@ public:
        void normalize(NormalStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        bool upper() const;
        ///
-       string const name_;
+       std::string const name_;
 };
 #endif