diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 16:27:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 07:34:13 +0100 |
commit | 4cfcf965b5c95b1ba7dd454e9dda954e8315b8a9 (patch) | |
tree | 394c3c23ea9deeabcc7c3b1ac477f44b3a02a85d /vcl/unx | |
parent | 0d6b4f5f6946cdadfe2a09946df90fa08f3588d0 (diff) |
ReleaseYieldMutex is always called with true
so drop param and rename to ReleaseYieldMutexAll
Change-Id: Ic4fcee24d46405659e54363c87f21d88696b0ce1
Reviewed-on: https://gerrit.libreoffice.org/44057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/geninst.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/plugadapt/salplug.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/app/geninst.cxx b/vcl/unx/generic/app/geninst.cxx index 3c31a68b81c7..a297ddc24c7f 100644 --- a/vcl/unx/generic/app/geninst.cxx +++ b/vcl/unx/generic/app/geninst.cxx @@ -53,9 +53,9 @@ comphelper::SolarMutex* SalGenericInstance::GetYieldMutex() return mpSalYieldMutex.get(); } -sal_uInt32 SalGenericInstance::ReleaseYieldMutex( bool bUnlockAll ) +sal_uInt32 SalGenericInstance::ReleaseYieldMutexAll() { - return mpSalYieldMutex.get()->release( bUnlockAll ); + return mpSalYieldMutex.get()->release( true/*bUnlockAll*/ ); } void SalGenericInstance::AcquireYieldMutex( sal_uInt32 nCount ) diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index 0f301f01d9b4..a1195dbde18a 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -254,7 +254,7 @@ SalInstance *CreateSalInstance() void DestroySalInstance( SalInstance *pInst ) { // release SolarMutex - pInst->ReleaseYieldMutex( true ); + pInst->ReleaseYieldMutexAll(); delete pInst; if( pCloseModule ) |