]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.h
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetFormulaMacro.h
index 663367e9499c794dfb666b5bf1f2e0a9a0fc07c0..ad27ec2101d621ee898ae9dd1a78c03503902adb 100644 (file)
@@ -31,9 +31,9 @@ public:
        ///
        InsetFormulaMacro();
        /// construct a macro hull from its name and the number of arguments
-       InsetFormulaMacro(std::string const & name, int nargs, std::string const & t);
+       InsetFormulaMacro(docstring const & name, int nargs, docstring const & t);
        /// constructs a mocro from its LaTeX definition
-       explicit InsetFormulaMacro(std::string const & s);
+       explicit InsetFormulaMacro(docstring const & s);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -58,7 +58,7 @@ public:
        ///
        InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
        ///
-       std::string const & getInsetName() const { return name_; }
+       docstring const & getInsetName() const { return name_; }
        ///
        EDITABLE editable() const { return HIGHLY_EDITABLE; }
 private:
@@ -67,9 +67,9 @@ private:
        ///
        void read(std::istream & is);
        /// prefix in inset
-       std::string prefix() const;
+       docstring prefix() const;
        ///
-       std::string name_;
+       docstring name_;
 };