[Libreoffice-commits] core.git: vcl/aqua
Tor Lillqvist
tml at iki.fi
Tue May 14 09:11:37 PDT 2013
vcl/aqua/source/app/salinst.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 25aa3491bc92a9dfa018bf37df4639a1d0df5302
Author: Tor Lillqvist <tml at iki.fi>
Date: Tue May 14 19:10:54 2013 +0300
Fix return type of SalYieldMutex::tryToAcquire() to match declaration
Change-Id: I3a659b736bede41dd4790e8ec062c81ac3fa03e5
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index b97bbd5..4ccfc97 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;
}
// -----------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list