diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-05-14 19:10:54 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-05-14 19:10:54 +0300 |
commit | 25aa3491bc92a9dfa018bf37df4639a1d0df5302 (patch) | |
tree | 6085ede1979480070eb9054267ba510227ed417a /vcl | |
parent | 9ddf14e46b0129e828e01cbf279eb46a9a583fd6 (diff) |
Fix return type of SalYieldMutex::tryToAcquire() to match declaration
Change-Id: I3a659b736bede41dd4790e8ec062c81ac3fa03e5
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/app/salinst.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx index b97bbd555387..4ccfc978c5d3 100644 --- a/vcl/aqua/source/app/salinst.cxx +++ b/vcl/aqua/source/app/salinst.cxx @@ -322,16 +322,16 @@ void SalYieldMutex::release() SolarMutexObject::release(); } -sal_Bool SalYieldMutex::tryToAcquire() +bool SalYieldMutex::tryToAcquire() { if ( SolarMutexObject::tryToAcquire() ) { mnThreadId = osl::Thread::getCurrentIdentifier(); mnCount++; - return sal_True; + return true; } else - return sal_False; + return false; } // ----------------------------------------------------------------------- |