summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucbhelper/source/provider/contenthelper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx
index 70418ef878f8..00ae20e5520b 100644
--- a/ucbhelper/source/provider/contenthelper.cxx
+++ b/ucbhelper/source/provider/contenthelper.cxx
@@ -152,10 +152,8 @@ void SAL_CALL ContentImplHelper::release()
rtl::Reference< ContentProviderImplHelper > xKeepProviderAlive(
m_xProvider );
- {
- osl::MutexGuard aGuard( m_xProvider->m_aMutex );
- OWeakObject::release();
- }
+ osl::MutexGuard aGuard( m_xProvider->m_aMutex );
+ OWeakObject::release();
}
uno::Any SAL_CALL ContentImplHelper::queryInterface( const uno::Type & rType )