diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:41 +0100 |
commit | 83922317915f06561e621caddc91512829609ec1 (patch) | |
tree | 790761ad43fce305bc8d4b94afb0fc42814acdc6 /sc/inc/address.hxx | |
parent | e1bdc38a0b8861281f4111fa78b39f76be6e14e7 (diff) |
More loplugin:cstylecast: sc
Change-Id: Iaaa5b99cdff49bc1e88443ee23d98c005ff84911
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r-- | sc/inc/address.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index 2be0ff1ccb7b..77ee970b08ee 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -176,11 +176,11 @@ namespace o3tl } inline void applyStartToEndFlags(ScRefFlags &target,const ScRefFlags source) { - target |= ScRefFlags((std::underlying_type<ScRefFlags>::type)source << 4); + target |= ScRefFlags(static_cast<std::underlying_type<ScRefFlags>::type>(source) << 4); } inline void applyStartToEndFlags(ScRefFlags &target) { - target |= ScRefFlags((std::underlying_type<ScRefFlags>::type)target << 4); + target |= ScRefFlags(static_cast<std::underlying_type<ScRefFlags>::type>(target) << 4); } // ScAddress |