diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-04-25 19:29:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 15:46:25 +0300 |
commit | 0cae8eeaae08c9dc4ace44ee026af6f2b335c9c6 (patch) | |
tree | f46c57a045a589e60ea2b005e1bc579e114e2423 /stoc/source | |
parent | 3c041720304ec77202741b5d5c8df9b93bc70a70 (diff) |
Must catch Exception here, not the more specific UnknownPropertyException
Change-Id: I4b0b119af356f38f359f2ba5afa6081533790443
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 619c6f8942b7..3001993db4e9 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -478,7 +478,7 @@ Any Invocation_Impl::getValue( const OUString& PropertyName ) if (_xDirect.is()) return _xDirect->getValue( PropertyName ); } - catch (UnknownPropertyException &) + catch (Exception &) { if (!comphelper::Automation::AutomationInvokedZone::isActive()) throw; @@ -522,7 +522,7 @@ void Invocation_Impl::setValue( const OUString& PropertyName, const Any& Value ) return; } } - catch (UnknownPropertyException &) + catch (Exception &) { if (!comphelper::Automation::AutomationInvokedZone::isActive()) throw; |