diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:39:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:47:31 +0200 |
commit | f9279bc3dff109331b54f2b0096bd4fcc81da7ae (patch) | |
tree | 5de537dd0e17e6f6a90b3083d89bdde73a968647 /sal | |
parent | 028dbf78be00cf74c8b7af7f45906b50215219c0 (diff) |
loplugin:redundantcast: redundant static_casts in sal
Change-Id: I2641f16530ec7f1087c217a74aeb39b5c3a8aba5
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 8530e73c2159..e8e4aa0e2dc5 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -413,11 +413,10 @@ struct FundamentalIniData { FundamentalIniData() { OUString uri; ini = - ((static_cast< Bootstrap_Impl * >(get_static_bootstrap_handle())-> - getValue( - "URE_BOOTSTRAP", - &uri.pData, nullptr, LOOKUP_MODE_NORMAL, false, nullptr)) && - resolvePathnameUrl(&uri)) + (get_static_bootstrap_handle()->getValue( + "URE_BOOTSTRAP", &uri.pData, nullptr, LOOKUP_MODE_NORMAL, false, + nullptr) + && resolvePathnameUrl(&uri)) ? rtl_bootstrap_args_open(uri.pData) : nullptr; } |