]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.h
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathBox.h
index e3bd98277dc9476f4691eff0ac50ea850ad24f59..0591d29e0aa8f7b1d6e38332f400df0dd469e9d0 100644 (file)
@@ -27,7 +27,7 @@ class LyXFont;
 class InsetMathBox : public InsetMathNest {
 public:
        ///
-       explicit InsetMathBox(std::string const & name);
+       explicit InsetMathBox(docstring const & name);
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
@@ -39,12 +39,12 @@ public:
        ///
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       std::string name_;
+       docstring name_;
 };