]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetNote.cpp
index 4c11a1e89e8f3c710cb6ff826f7d42bca514197e..51d8e8bb6079892855a196bea6eb952b1c670e67 100644 (file)
@@ -106,30 +106,25 @@ void InsetNoteParams::read(Lexer & lex)
 }
 
 
-InsetNote::InsetNote(BufferParams const & bp, string const & label)
-       : InsetCollapsable(bp)
+/////////////////////////////////////////////////////////////////////
+//
+// InsetNode
+//
+/////////////////////////////////////////////////////////////////////
+
+InsetNote::InsetNote(Buffer const & buf, string const & label)
+       : InsetCollapsable(buf)
 {
        params_.type = notetranslator().find(label);
 }
 
 
-InsetNote::InsetNote(InsetNote const & in)
-       : InsetCollapsable(in), params_(in.params_)
-{}
-
-
 InsetNote::~InsetNote()
 {
        InsetNoteMailer(*this).hideDialog();
 }
 
 
-Inset * InsetNote::clone() const
-{
-       return new InsetNote(*this);
-}
-
-
 docstring InsetNote::editMessage() const
 {
        return _("Opened Note Inset");