X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetOptArg.h;h=0f12d369b56e2de3721de169801592c15313fe89;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=0e8452f16c2d62271f23a54213e1ac8c58ff813e;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/insets/InsetOptArg.h b/src/insets/InsetOptArg.h index 0e8452f16c..0f12d369b5 100644 --- a/src/insets/InsetOptArg.h +++ b/src/insets/InsetOptArg.h @@ -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;