]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.h
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathBox.h
index fc8d9aa977a93b2d8a4d1f18c7f8e832ef644106..0591d29e0aa8f7b1d6e38332f400df0dd469e9d0 100644 (file)
@@ -17,6 +17,9 @@
 #include <string>
 
 
+namespace lyx {
+
+
 class LyXFont;
 
 /// Support for \\mbox
@@ -24,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; }
        ///
@@ -36,13 +39,16 @@ 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_;
 };
 
 
+
+} // namespace lyx
+
 #endif