From 47443d720d5f2bee0993222fd6383a59056d8591 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 22 Jun 2016 12:52:49 +0200 Subject: ucbhelper: get rid of pointless scope in ContentImplHelper::release Change-Id: I5a35674115388288190e3a6496010badc32cf589 --- ucbhelper/source/provider/contenthelper.cxx | 6 ++---- 1 file 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 ) -- cgit v1.2.3