diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 09:34:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 10:57:56 +0100 |
commit | bc793cbaca2b961615201296216e0b556d0abb27 (patch) | |
tree | c34baefde2b8a18ae65b56037bd037fcb6671d3f /uui/source | |
parent | 41d43bc95b64e1907709141fcd8b6ce08b0841c8 (diff) |
coverity#1223095 Unused pointer value
Change-Id: I94e55eefd35efd2daa8d3458022eeedfc05d9cb4
Diffstat (limited to 'uui/source')
-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 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); |