From 19277d02fb996058e896725bae7500f356f08af0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 21 Aug 2013 14:18:40 +0200 Subject: osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier() Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44 --- uui/source/iahndl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'uui/source') diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 4557c9fdef77..c32eed007962 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -65,6 +65,7 @@ #include "tools/rcid.h" // RSC_STRING #include "tools/errinf.hxx" // ErrorHandler, ErrorContext, ... #include "osl/mutex.hxx" +#include "osl/thread.hxx" #include "tools/diagnose_ex.h" #include "comphelper/documentconstants.hxx" // ODFVER_012_TEXT #include "svtools/sfxecode.hxx" // ERRCODE_SFX_* @@ -175,7 +176,7 @@ UUIInteractionHelper::handleRequest( // be aware,it is the same type static_cast< oslThreadIdentifier >( Application::GetMainThreadIdentifier()) - != osl_getThreadIdentifier(NULL) + != osl::Thread::getCurrentIdentifier() && (pApp = GetpApp()) != 0 @@ -236,7 +237,7 @@ UUIInteractionHelper::getStringFromRequest( // be aware,it is the same type static_cast< oslThreadIdentifier >( Application::GetMainThreadIdentifier()) - != osl_getThreadIdentifier(NULL) + != osl::Thread::getCurrentIdentifier() && (pApp = GetpApp()) != 0 -- cgit