From 0cae8eeaae08c9dc4ace44ee026af6f2b335c9c6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 25 Apr 2018 19:29:53 +0300 Subject: Must catch Exception here, not the more specific UnknownPropertyException Change-Id: I4b0b119af356f38f359f2ba5afa6081533790443 --- stoc/source/invocation/invocation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stoc') 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; -- cgit