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/attrib.hxx | |
parent | e1bdc38a0b8861281f4111fa78b39f76be6e14e7 (diff) |
More loplugin:cstylecast: sc
Change-Id: Iaaa5b99cdff49bc1e88443ee23d98c005ff84911
Diffstat (limited to 'sc/inc/attrib.hxx')
-rw-r--r-- | sc/inc/attrib.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index ccec669d1db2..24218eb8bdb4 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -89,7 +89,7 @@ public: SfxPoolItem * Clone(SfxItemPool * pPool = nullptr) const override; - ScMF GetValue() const { return (ScMF) SfxInt16Item::GetValue(); } + ScMF GetValue() const { return static_cast<ScMF>(SfxInt16Item::GetValue()); } bool IsHorOverlapped() const { return bool( GetValue() & ScMF::Hor ); } bool IsVerOverlapped() const { return bool( GetValue() & ScMF::Ver ); } |