ucbhelper/source/provider/contenthelper.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 47443d720d5f2bee0993222fd6383a59056d8591 Author: Michael Stahl <[email protected]> Date: Wed Jun 22 12:52:49 2016 +0200 ucbhelper: get rid of pointless scope in ContentImplHelper::release Change-Id: I5a35674115388288190e3a6496010badc32cf589 diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 70418ef..00ae20e 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 ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
