]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCommand.h
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathCommand.h
index 1b00daf3fd7a5c9627f1130aaa5239a152da30fe..a95ec06c68fd574a84834db7ece0462c905506bd 100644 (file)
@@ -25,7 +25,7 @@ namespace lyx {
 class CommandInset : public InsetMathNest {
 public:
        ///
-       explicit CommandInset(std::string const & name);
+       explicit CommandInset(docstring const & name);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -35,18 +35,18 @@ public:
        ///
        void write(WriteStream & os) const;
        //
-       // void infoize(std::ostream & os) const;
+       // void infoize(odocstream & os) const;
        ///
        virtual docstring const screenLabel() const;
        /// generate something that will be understood by the Dialogs.
        std::string const createDialogStr(std::string const & name) const;
        ///
-       std::string const & commandname() const { return name_; }
+       docstring const & commandname() const { return name_; }
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 
        ///
-       std::string name_;
+       docstring name_;
        ///
        mutable bool set_label_;
        ///