]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.cpp
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetTOC.cpp
index 51234af7cd27c2e47c914fa0c0a82c6c7293707c..bc4b6201d70f59720dcdd2edf06f62e411c1a9f4 100644 (file)
@@ -34,9 +34,9 @@ InsetTOC::InsetTOC(InsetCommandParams const & p)
 {}
 
 
-std::auto_ptr<Inset> InsetTOC::doClone() const
+Inset * InsetTOC::clone() const
 {
-       return std::auto_ptr<Inset>(new InsetTOC(*this));
+       return new InsetTOC(*this);
 }