]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_biginset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_biginset.h
index 2e605866473320eb42b866fa84950bc7888a87e2..f9547cc469e848e58f9ab8b32db861eac4580f09 100644 (file)
 #define MATH_BIGINSET_H
 
 #include "math_diminset.h"
-#include "support/std_string.h"
 
+#include <string>
 
 /// Inset for \bigl & Co.
 class MathBigInset : public MathDimInset {
 public:
        ///
-       MathBigInset(string const & name, string const & delim);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathBigInset(std::string const & name, std::string const & delim);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -33,15 +31,16 @@ public:
        void normalize(NormalStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        size_type size() const;
        ///
        double increase() const;
 
        /// \bigl or what?
-       string const name_;
+       std::string const name_;
        /// ( or [ or Vert...
-       string const delim_;
+       std::string const delim_;
 };
 
 #endif