]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.cpp
Fix text frame drawing.
[lyx.git] / src / insets / InsetSpace.cpp
index 168862236bed9f734759b6be9da07870a47cb002..26ab1b370f5888862573665355218a7b3e753371 100644 (file)
@@ -29,7 +29,6 @@ namespace lyx {
 
 using std::string;
 using std::max;
-using std::auto_ptr;
 using std::ostream;
 
 
@@ -235,9 +234,9 @@ int InsetSpace::textString(Buffer const & buf, odocstream & os,
 }
 
 
-auto_ptr<Inset> InsetSpace::doClone() const
+Inset * InsetSpace::clone() const
 {
-       return auto_ptr<Inset>(new InsetSpace(kind_));
+       return new InsetSpace(kind_);
 }