summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-07-09 13:13:47 +0200
committerDavid Tardon <dtardon@redhat.com>2013-07-10 06:41:34 +0200
commit575f789f93fd0ef00987afa51a8e4ce2d8089287 (patch)
treebf1c801fd097be57e17303a9553684d1586484d8 /xmloff
parent2285177c03381079db93aa03195a9b828081e535 (diff)
drop useless condition
Change-Id: I31368921a7a398f55731081848f4df58663e3136
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx7
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