summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/linectrl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 17:36:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 17:36:44 +0100
commit4c799fa83a5a51f27301110ae165855ffbc7a596 (patch)
treedf3483964cb88c56e8b3e7e92659ac90573fb33b /svx/source/tbxctrls/linectrl.cxx
parenta31b7a941eee06efaa92a54a49c955c914fd20aa (diff)
loplugin:redundantcast: svx
(after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: Icd1f084d4ffab286fd3c7c02693444eaf7799354
Diffstat (limited to 'svx/source/tbxctrls/linectrl.cxx')
-rw-r--r--svx/source/tbxctrls/linectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 54d30c89687c..1e1734ae331f 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -134,7 +134,7 @@ void SvxLineStyleToolBoxControl::Update( const SfxPoolItem* pState )
drawing::LineStyle eXLS;
if ( pStyleItem )
- eXLS = ( drawing::LineStyle )pStyleItem->GetValue();
+ eXLS = pStyleItem->GetValue();
else
eXLS = drawing::LineStyle_NONE;