[Libreoffice-commits] .: vcl/aqua

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Tue Oct 12 00:06:33 PDT 2010


 vcl/aqua/source/app/salinst.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f49028b1bd734cb7ccfcad82df0acf8a950454ae
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Tue Oct 12 01:46:46 2010 -0500

    missing OThread ocnversion in aqua

diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 94067b2..baf49e0 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -470,7 +470,7 @@ AquaSalInstance::AquaSalInstance()
     mpSalYieldMutex = new SalYieldMutex;
     mpSalYieldMutex->acquire();
     ::tools::SolarMutex::SetSolarMutex( mpSalYieldMutex );
-    maMainThread = vos::OThread::getCurrentIdentifier();
+    maMainThread = osl::Thread::getCurrentIdentifier();
     mbWaitingYield = false;
     maUserEventListMutex = osl_createMutex();
     mnActivePrintJobs = 0;
@@ -568,7 +568,7 @@ void AquaSalInstance::AcquireYieldMutex( ULONG nCount )
 
 bool AquaSalInstance::isNSAppThread() const
 {
-    return vos::OThread::getCurrentIdentifier() == maMainThread;
+    return osl::Thread::getCurrentIdentifier() == maMainThread;
 }
 
 // -----------------------------------------------------------------------


More information about the Libreoffice-commits mailing list