diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-06-22 12:52:49 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-24 12:52:25 +0200 |
commit | 47443d720d5f2bee0993222fd6383a59056d8591 (patch) | |
tree | 96796a66db2d9a5f855253ea5252c2d5d5fea424 /ucbhelper/source | |
parent | 920d4463f6e59b815852c173e2974ffc7b4bb284 (diff) |
ucbhelper: get rid of pointless scope in ContentImplHelper::release
Change-Id: I5a35674115388288190e3a6496010badc32cf589
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 6 |
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 ) |