diff options
-rw-r--r-- | uui/source/iahndl.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index e97be349a459..fdbe9eccbc67 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -163,9 +163,7 @@ UUIInteractionHelper::handleRequest( uno::Reference< task::XInteractionRequest > const & rRequest) { if( - // be aware,it is the same type - static_cast< oslThreadIdentifier >( - Application::GetMainThreadIdentifier()) + Application::GetMainThreadIdentifier() != osl::Thread::getCurrentIdentifier() && GetpApp() @@ -217,9 +215,7 @@ UUIInteractionHelper::getStringFromRequest( uno::Reference< task::XInteractionRequest > const & rRequest) { if( - // be aware,it is the same type - static_cast< oslThreadIdentifier >( - Application::GetMainThreadIdentifier()) + Application::GetMainThreadIdentifier() != osl::Thread::getCurrentIdentifier() && GetpApp() |