summaryrefslogtreecommitdiff
path: root/sc/inc/attrib.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:41 +0100
commit83922317915f06561e621caddc91512829609ec1 (patch)
tree790761ad43fce305bc8d4b94afb0fc42814acdc6 /sc/inc/attrib.hxx
parente1bdc38a0b8861281f4111fa78b39f76be6e14e7 (diff)
More loplugin:cstylecast: sc
Change-Id: Iaaa5b99cdff49bc1e88443ee23d98c005ff84911
Diffstat (limited to 'sc/inc/attrib.hxx')
-rw-r--r--sc/inc/attrib.hxx2
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 ); }