summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:52 +0200
commit42c490fe71595ad692a5364cf15a9608d1abdf80 (patch)
tree484b94755c1107e12d6043d3e26f56a9e798e2ee /svx/source/tbxctrls
parent8005237d71a75fe9bcfd860111bb0fe1fa6064d6 (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: svx
Change-Id: I4705917cd6e583b1209671ca4a9122581f7b4417
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 46443440d640..e21eb758fbee 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -719,7 +719,7 @@ void SvxStyleBox_Impl::SetupEntry(vcl::RenderContext& rRenderContext, vcl::Windo
pItem = pItemSet->GetItem( SID_ATTR_CHAR_OVERLINE );
if ( pItem )
- aFont.SetOverline( static_cast< FontLineStyle >( static_cast< const SvxOverlineItem* >( pItem )->GetValue() ) );
+ aFont.SetOverline( static_cast< const SvxOverlineItem* >( pItem )->GetValue() );
pItem = pItemSet->GetItem( SID_ATTR_CHAR_STRIKEOUT );
if ( pItem )