diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-21 14:18:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-21 14:19:10 +0200 |
commit | 19277d02fb996058e896725bae7500f356f08af0 (patch) | |
tree | 243a2fc5bbba794f03a865527407304aa2de4554 /uui/source | |
parent | bcce27d2832a2b098a42cbbd365df35948b9d0ac (diff) |
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/iahndl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 |