]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Fix text frame drawing.
[lyx.git] / src / insets / InsetNote.cpp
index 99cf71a4918649f5161e1193400973426068b4e5..50382349bdb20fffcdb944bbcec2e41a440a0777 100644 (file)
@@ -40,7 +40,6 @@
 namespace lyx {
 
 using std::string;
-using std::auto_ptr;
 using std::istringstream;
 using std::ostream;
 using std::ostringstream;
@@ -134,9 +133,9 @@ InsetNote::~InsetNote()
 }
 
 
-auto_ptr<Inset> InsetNote::doClone() const
+Inset * InsetNote::clone() const
 {
-       return auto_ptr<Inset>(new InsetNote(*this));
+       return new InsetNote(*this);
 }