]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathExInt.h
index 3f1b821c7219133bd97640be5ae0c281931587fe..d83d600bdebdebd57c9042d3ac312ac49fd23f37 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
-
 // cell(0) is stuff before the 'd', cell(1) the stuff after
 class InsetMathExInt : public InsetMathNest {
 public:
        ///
-       explicit InsetMathExInt(std::string const & name_);
+       explicit InsetMathExInt(docstring const & name_);
        ///
-       void symbol(std::string const &);
+       void symbol(docstring const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -45,19 +42,20 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool hasScripts() const;
 
        ///
-       std::string symbol_;
+       docstring symbol_;
 };
 
 
 } // namespace lyx
 
+
 #endif