]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Fix text frame drawing.
[lyx.git] / src / insets / InsetBox.cpp
index 9d7ebac301273cc4c544ee5c63d8471918dc48ed..893946372701d2fad019c50110c54de28695709c 100644 (file)
@@ -34,7 +34,6 @@
 
 namespace lyx {
 
-using std::auto_ptr;
 using std::string;
 using std::istringstream;
 using std::ostream;
@@ -113,9 +112,9 @@ InsetBox::~InsetBox()
 }
 
 
-auto_ptr<Inset> InsetBox::doClone() const
+Inset * InsetBox::clone() const
 {
-       return auto_ptr<Inset>(new InsetBox(*this));
+       return new InsetBox(*this);
 }