summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshape.cxx26
1 files changed, 17 insertions, 9 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 949728d4bf12..c7fb448fe575 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -264,15 +264,23 @@ void SvxShape::notifyPropertyChange(const OUString& rPropName)
mpImpl->maPropertyChangeListeners.getContainer( g, OUString() );
if (pPropListeners || pAllListeners)
{
- // Handle/OldValue not supported
- beans::PropertyChangeEvent aEvt;
- aEvt.Source = static_cast<cppu::OWeakObject*>(this);
- aEvt.PropertyName = rPropName;
- aEvt.NewValue = getPropertyValue(rPropName);
- if (pPropListeners)
- pPropListeners->notifyEach( g, &beans::XPropertyChangeListener::propertyChange, aEvt );
- if (pAllListeners)
- pAllListeners->notifyEach( g, &beans::XPropertyChangeListener::propertyChange, aEvt );
+ try
+ {
+ // Handle/OldValue not supported
+ beans::PropertyChangeEvent aEvt;
+ aEvt.Source = static_cast<cppu::OWeakObject*>(this);
+ aEvt.PropertyName = rPropName;
+ aEvt.NewValue = getPropertyValue(rPropName);
+ if (pPropListeners)
+ pPropListeners->notifyEach( g, &beans::XPropertyChangeListener::propertyChange, aEvt );
+ if (pAllListeners)
+ pAllListeners->notifyEach( g, &beans::XPropertyChangeListener::propertyChange, aEvt );
+ }
+ catch( const Exception& )
+ {
+ DBG_UNHANDLED_EXCEPTION("svx");
+ }
+
}
}