]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathColor.h
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathColor.h
index 68c0f47f588654b94c6f155305d3397b8fc53481..71fada04738581adc3bfb7a913c56c9b6937561d 100644 (file)
@@ -27,7 +27,7 @@ public:
        explicit InsetMathColor(bool oldstyle,
                LColor_color const & color = LColor::none);
        /// Create a color inset from LaTeX color name
-       explicit InsetMathColor(bool oldstyle, std::string const & color);
+       explicit InsetMathColor(bool oldstyle, docstring const & color);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        /// we write extra braces in any case...
@@ -42,7 +42,7 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
        /// width of '[' in current font
@@ -50,7 +50,7 @@ private:
        ///
        bool oldstyle_;
        /// Our color. Only valid LaTeX colors are allowed.
-       std::string color_;
+       docstring color_;
 };