]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.cpp
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetMarginal.cpp
index 27e9a0a1a06c48cc85d31d35402786320255ab47..0193f5b33b84c59b12ce85fabfe7851bd8f9f817 100644 (file)
 
 namespace lyx {
 
-using std::string;
-using std::auto_ptr;
-using std::ostream;
-
 
 InsetMarginal::InsetMarginal(BufferParams const & bp)
        : InsetFootlike(bp)
@@ -39,9 +35,9 @@ InsetMarginal::InsetMarginal(InsetMarginal const & in)
 {}
 
 
-auto_ptr<Inset> InsetMarginal::doClone() const
+Inset * InsetMarginal::clone() const
 {
-       return auto_ptr<Inset>(new InsetMarginal(*this));
+       return new InsetMarginal(*this);
 }