]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
* InsetMathHull:
[lyx.git] / src / mathed / InsetMathXArrow.h
index 59794c3f6a6b960303c248372875031654a1b45e..a239fd053232d037315f1467563873efa19ad848 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef MATH_XARROWINSET_H
 #define MATH_XARROWINSET_H
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
 
 
 namespace lyx {
@@ -22,7 +22,7 @@ namespace lyx {
 class InsetMathXArrow : public InsetMathFracBase {
 public:
        ///
-       explicit InsetMathXArrow(std::string const & name);
+       explicit InsetMathXArrow(docstring const & name);
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -35,11 +35,11 @@ public:
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///
-       std::string const name_;
+       docstring const name_;
 };