]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.h
pimpl not needed here
[lyx.git] / src / insets / InsetNote.h
index e585701993253a727b550c6288d986489af96339..303b2882bce05cca26102e4f70c8c91c98577ccb 100644 (file)
@@ -50,7 +50,7 @@ public:
        ///
        virtual docstring const editMessage() const;
        ///
-       Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
+       InsetCode lyxCode() const { return NOTE_CODE; }
        ///
        docstring name() const;
        /// framed and shaded notes are displayed
@@ -84,7 +84,7 @@ protected:
 private:
        friend class InsetNoteParams;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// used by the constructors
        void init();