]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.h
hopefully fix tex2lyx linking.
[lyx.git] / src / insets / inset.h
index 13a1109236ec78f1bd9acfe91e6f72bc9f166d16..e7f4ea68f679a9c6aab330145dc63d010fdfb1a4 100644 (file)
@@ -43,9 +43,9 @@ public:
        int width() const;
 
        ///
-       void setInsetName(std::string const & s) { name_ = s; }
+       void setInsetName(docstring const & s) { name_ = s; }
        ///
-       virtual std::string const & getInsetName() const { return name_; }
+       virtual docstring const & getInsetName() const { return name_; }
        ///
        virtual void setBackgroundColor(LColor_color);
        ///
@@ -63,7 +63,7 @@ private:
        InsetOld & operator=(InsetOld const &) const;
 
        ///
-       std::string name_;
+       docstring name_;
        /** We store the LColor::color value as an int to get LColor.h out
         *  of the header file.
         */