summaryrefslogtreecommitdiff
path: root/uui/source
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source')
-rw-r--r--uui/source/iahndl.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 4704d937d91a..de4e70c74563 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -168,15 +168,13 @@ bool
UUIInteractionHelper::handleRequest(
uno::Reference< task::XInteractionRequest > const & rRequest)
{
- Application* pApp = 0;
if(
// be aware,it is the same type
static_cast< oslThreadIdentifier >(
Application::GetMainThreadIdentifier())
!= osl::Thread::getCurrentIdentifier()
&&
- (pApp = GetpApp())
- != 0
+ GetpApp()
) {
// we are not in the main thread, let it handle that stuff
HandleData aHD(rRequest);
@@ -227,15 +225,13 @@ beans::Optional< OUString >
UUIInteractionHelper::getStringFromRequest(
uno::Reference< task::XInteractionRequest > const & rRequest)
{
- Application* pApp = 0;
if(
// be aware,it is the same type
static_cast< oslThreadIdentifier >(
Application::GetMainThreadIdentifier())
!= osl::Thread::getCurrentIdentifier()
&&
- (pApp = GetpApp())
- != 0
+ GetpApp()
) {
// we are not in the main thread, let it handle that stuff
HandleData aHD(rRequest);