]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_boxinset.h
index 6ab4d1c7a2bdedde21b5f342940c8162fa9ac4f3..df9bcd6cff566150af7de2c64c57f5f4620fe020 100644 (file)
@@ -13,7 +13,8 @@
 #define MATH_BOXINSET_H
 
 #include "math_nestinset.h"
-#include "support/std_string.h"
+
+#include <string>
 
 
 class LyXFont;
@@ -23,9 +24,7 @@ class LyXFont;
 class MathBoxInset : public MathNestInset {
 public:
        ///
-       explicit MathBoxInset(string const & name);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathBoxInset(std::string const & name);
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
@@ -40,8 +39,9 @@ public:
        void infoize(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       string name_;
+       std::string name_;
 };