]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stringinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_stringinset.h
index 5f38f66a9fc64889ca15b1a27d0ade9a776337f6..f233b5169fa6aee1e8328b147b80b95d2e81868b 100644 (file)
 class MathStringInset : public MathInset {
 public:
        ///
-       explicit MathStringInset(string const & s);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathStringInset(std::string const & s);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       string str() const { return str_; }
+       std::string str() const { return str_; }
        ///
        MathStringInset * asStringInset() { return this; }
 
@@ -48,7 +46,8 @@ public:
        void write(WriteStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the string
-       string str_;
+       std::string str_;
 };
 #endif