]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exintinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_exintinset.h
index fcb3dbf3a0b5b04d9c841e9b2cc1274c37b1f37f..8047fe21c86ae45656b19c2e92e67a87febc10cf 100644 (file)
 
 #include "math_nestinset.h"
 
+#include <string>
+
+
 // cell(0) is stuff before the 'd', cell(1) the stuff after
 class MathExIntInset : public MathNestInset {
 public:
        ///
-       explicit MathExIntInset(string const & name_);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathExIntInset(std::string const & name_);
        ///
-       void symbol(string const &);
+       void symbol(std::string const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -45,11 +46,12 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        bool hasScripts() const;
 
        ///
-       string symbol_;
+       std::string symbol_;
 };
 
 #endif