]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.h
Inset::translate() -> lyx::insetCode()
[features.git] / src / insets / Inset.h
index 3ab332fc4665b43b6b4ad958a4021296de576606..6179e119905e2f4f929d5346a34293caab34d84f 100644 (file)
@@ -266,11 +266,6 @@ public:
        /// return true if the inset should be removed automatically
        virtual bool autoDelete() const;
 
-       /** returns the InsetCode corresponding to the \c name.
-        *  Eg, translate("branch") == BRANCH_CODE
-        */
-       static InsetCode translate(std::string const & name);
-
        /// returns true if the inset can hold an inset of given type
        virtual bool insetAllowed(InsetCode) const { return false; }
        /// if this inset has paragraphs should they be output all as default