diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-04-25 19:29:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 21:59:50 +0300 |
commit | db1e3cb11657009fc476116bb403351bf6fc0013 (patch) | |
tree | 8110ec1069c52f1be49a4ce4914675ac5c46125a /stoc | |
parent | 80efd3852aedec00c3b94a8bf4c923f35cb22314 (diff) |
Must catch Exception here, not the more specific UnknownPropertyException
Change-Id: I4b0b119af356f38f359f2ba5afa6081533790443
(cherry picked from commit 0cae8eeaae08c9dc4ace44ee026af6f2b335c9c6)
Diffstat (limited to 'stoc')
-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 b1f2a4d3e8da..e70017baa0da 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -499,7 +499,7 @@ Any Invocation_Impl::getValue( const OUString& PropertyName ) if (_xDirect.is()) return _xDirect->getValue( PropertyName ); } - catch (UnknownPropertyException &) + catch (Exception &) { if (!mbFromOLE) throw; @@ -543,7 +543,7 @@ void Invocation_Impl::setValue( const OUString& PropertyName, const Any& Value ) return; } } - catch (UnknownPropertyException &) + catch (Exception &) { if (!mbFromOLE) throw; |