]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetOptArg.h
index 0e8452f16c2d62271f23a54213e1ac8c58ff813e..0f12d369b56e2de3721de169801592c15313fe89 100644 (file)
@@ -28,7 +28,9 @@ public:
        InsetOptArg(BufferParams const &);
 
        /// code of the inset
-       Inset::Code lyxCode() const { return Inset::OPTARG_CODE; }
+       InsetCode lyxCode() const { return OPTARG_CODE; }
+       ///
+       docstring name() const { return from_ascii("OptArg"); }
        /// return an message upon editing
        virtual docstring const editMessage() const;