summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlimppr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index 8ebaa88d3fde..f14e64628618 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -585,7 +585,7 @@ void SvXMLImportPropertyMapper::PrepareForMultiPropertySet_(
if ( ( 0 == ( nPropFlags & MID_FLAG_NO_PROPERTY ) ) &&
( ( 0 != ( nPropFlags & MID_FLAG_MUST_EXIST ) ) ||
!rPropSetInfo.is() ||
- (rPropSetInfo.is() && rPropSetInfo->hasPropertyByName( rPropName )) ) )
+ rPropSetInfo->hasPropertyByName(rPropName) ) )
{
// save property into property pair structure
aPropertyPairs.emplace_back( &rPropName, &rProp.maValue );