diff options
Diffstat (limited to 'sd/source/filter/ppt/pptinanimations.cxx')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 3b8199907edf..3aa3461b4831 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -66,8 +66,9 @@ #include "pptin.hxx" #include "randomnode.hxx" +#include <boost/scoped_ptr.hpp> + #include <algorithm> -#include <memory> using ::std::map; using ::com::sun::star::beans::NamedValue; @@ -222,7 +223,7 @@ int AnimationImporter::import( const Reference< XDrawPage >& xPage, const DffRec { Reference< XAnimationNode > xParent; - std::unique_ptr<Atom> pAtom(Atom::import( rProgTagContentHd, mrStCtrl )); + boost::scoped_ptr<Atom> pAtom(Atom::import( rProgTagContentHd, mrStCtrl )); if( pAtom ) { nNodes = importAnimationContainer( pAtom.get(), xParent ); |