]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.h
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetOptArg.h
index d12eb75a9c026c5ec05778074fb8c1693c228ad8..7f57c87a5f1d7a5e488927c9a56a7ad17006020b 100644 (file)
@@ -28,7 +28,7 @@ public:
        InsetOptArg(BufferParams const &);
 
        /// code of the inset
-       InsetBase::Code lyxCode() const { return InsetBase::OPTARG_CODE; }
+       Inset::Code lyxCode() const { return Inset::OPTARG_CODE; }
        /// return an message upon editing
        virtual docstring const editMessage() const;
        ///
@@ -55,7 +55,7 @@ public:
 protected:
        InsetOptArg(InsetOptArg const &);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };