diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 1facc7c9ff0ee..b89ebae07c603 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -270,7 +270,7 @@ void SvxAreaTabPage::Reset_Impl( const SfxItemSet* rAttrs ) void SvxAreaTabPage::Reset( const SfxItemSet* rAttrs ) { - FillType eFillType = static_cast(maBox.GetCurrentButtonPos()); + auto eFillType = maBox.GetCurrentButtonPos(); switch(eFillType) { case SOLID: