diff options
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salinst.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 972a7fafcd76..b046fda9f4e2 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -318,7 +318,7 @@ void SalYieldMutex::doAcquire( sal_uInt32 nLockCount ) ++m_nCount; --nLockCount; - comphelper::GenericSolarMutex::doAcquire( nLockCount ); + comphelper::SolarMutex::doAcquire( nLockCount ); } sal_uInt32 SalYieldMutex::doRelease( const bool bUnlockAll ) @@ -331,7 +331,7 @@ sal_uInt32 SalYieldMutex::doRelease( const bool bUnlockAll ) std::unique_lock<std::mutex> g(m_runInMainMutex); // read m_nCount before doRelease bool const isReleased(bUnlockAll || m_nCount == 1); - nCount = comphelper::GenericSolarMutex::doRelease( bUnlockAll ); + nCount = comphelper::SolarMutex::doRelease( bUnlockAll ); if (isReleased && !pInst->IsMainThread()) { m_wakeUpMain = true; m_aInMainCondition.notify_all(); @@ -343,7 +343,7 @@ sal_uInt32 SalYieldMutex::doRelease( const bool bUnlockAll ) bool SalYieldMutex::IsCurrentThread() const { if ( !GetSalData()->mpInstance->mbNoYieldLock ) - return comphelper::GenericSolarMutex::IsCurrentThread(); + return comphelper::SolarMutex::IsCurrentThread(); else return GetSalData()->mpInstance->IsMainThread(); } |