diff options
author | David Tardon <dtardon@redhat.com> | 2013-07-09 13:13:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-07-10 06:41:34 +0200 |
commit | 575f789f93fd0ef00987afa51a8e4ce2d8089287 (patch) | |
tree | bf1c801fd097be57e17303a9553684d1586484d8 /xmloff/source | |
parent | 2285177c03381079db93aa03195a9b828081e535 (diff) |
drop useless condition
Change-Id: I31368921a7a398f55731081848f4df58663e3136
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 328c7fd8453f..e2b9c29c77b8 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -459,11 +459,8 @@ void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent xMapper = new XMLPropertySetMapper((XMLPropertyMapEntry*)aXMLSDPresPageProps, aFactoryRef); mpPresPagePropsMapper = new XMLPageExportPropertyMapper( xMapper, *this ); - if(mpPresPagePropsMapper) - { - // set lock to avoid deletion - mpPresPagePropsMapper->acquire(); - } + // set lock to avoid deletion + mpPresPagePropsMapper->acquire(); } // add family name |