summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/PropertyForward.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/sdr/PropertyForward.cxx')
-rw-r--r--reportdesign/source/core/sdr/PropertyForward.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/PropertyForward.cxx b/reportdesign/source/core/sdr/PropertyForward.cxx
index 4c48427b48fa..b3971554e430 100644
--- a/reportdesign/source/core/sdr/PropertyForward.cxx
+++ b/reportdesign/source/core/sdr/PropertyForward.cxx
@@ -127,7 +127,7 @@ void SAL_CALL OPropertyMediator::propertyChange( const PropertyChangeEvent& evt
if ( aFind != m_aNameMap.end() )
sPropName = aFind->first;
}
- if ( !sPropName.isEmpty() && xPropInfo->hasPropertyByName(sPropName) )
+ if (aFind != m_aNameMap.end() && !sPropName.isEmpty() && xPropInfo->hasPropertyByName(sPropName))
xProp->setPropertyValue(sPropName,aFind->second.second->operator()(sPropName,evt.NewValue));
else if ( evt.PropertyName == PROPERTY_CHARFONTNAME
|| evt.PropertyName == PROPERTY_CHARFONTSTYLENAME