diff options
Diffstat (limited to 'xmloff/source/draw/animationexport.cxx')
-rw-r--r-- | xmloff/source/draw/animationexport.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index b1e3ae7573fc..4129b72369fa 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -549,12 +549,8 @@ AnimationsExporterImpl::AnimationsExporterImpl( SvXMLExport& rExport, const Refe } mpSdPropHdlFactory = new XMLSdPropHdlFactory( mrExport.GetModel(), mrExport ); - if( mpSdPropHdlFactory ) - { - // set lock to avoid deletion - mpSdPropHdlFactory->acquire(); - } - + // set lock to avoid deletion + mpSdPropHdlFactory->acquire(); } AnimationsExporterImpl::~AnimationsExporterImpl() |