diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-12 15:05:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-12 15:05:41 +0200 |
commit | 9624bde1c36a3c1b86d8d88f97bc729ac4d65853 (patch) | |
tree | 571c4cb9eaed69a45bb67b98b9635251adf07dbe /include | |
parent | e4b3772ef966fb3db8dfaa55dfc5f5582d61761d (diff) |
tdf#100866: Don't let exception pass connectivity::release
...which is only ever called from onexcept XInterface::release overrides:
connectivity::release itself appears to be only called from
connectivity::OSubComponent::relase_ChildImpl [sic], which in turn is only
called from various XInterface::release overrides across connectivity.
Change-Id: I94b682ec531acecd0ef9f8c100f67a71c361941e
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/OSubComponent.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/OSubComponent.hxx b/include/connectivity/OSubComponent.hxx index 8f80e8eea2a5..1955c543da52 100644 --- a/include/connectivity/OSubComponent.hxx +++ b/include/connectivity/OSubComponent.hxx @@ -43,7 +43,7 @@ namespace connectivity void release(oslInterlockedCount& _refCount, ::cppu::OBroadcastHelper& rBHelper, css::uno::Reference< css::uno::XInterface >& _xInterface, - css::lang::XComponent* _pObject); + css::lang::XComponent* _pObject) throw (); // OSubComponent @@ -70,7 +70,7 @@ namespace connectivity ::osl::MutexGuard aGuard( m_pDerivedImplementation->WEAK::rBHelper.rMutex ); m_xParent.clear(); } - void relase_ChildImpl() + void relase_ChildImpl() throw () { #if 0 ::connectivity::release(m_pDerivedImplementation->m_refCount, |