diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index c314e4fafda6..2ed65bf02be6 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -251,10 +251,10 @@ int AnimationImporter::import( const Reference< XDrawPage >& xPage, const DffRec { Reference< XAnimationNode > xParent; - const Atom* pAtom = Atom::import( rProgTagContentHd, mrStCtrl ); + boost::scoped_ptr<Atom> pAtom(Atom::import( rProgTagContentHd, mrStCtrl )); if( pAtom ) { - nNodes = importAnimationContainer( pAtom, xParent ); + nNodes = importAnimationContainer( pAtom.get(), xParent ); } processAfterEffectNodes(); |