diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:35 +0200 |
commit | 643787f22eaf057ee7d0a4f49065834e11b92ce5 (patch) | |
tree | 51a492ac28d332ca33b9373a5505e522e1951328 /uui | |
parent | e2a218114de3fd74848323238188c847a733d9b3 (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: uui
Change-Id: I2ecf4a804a9fa4056f956bea245b64cb7c087595
Diffstat (limited to 'uui')
-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() |