diff options
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 ); } |