diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-17 10:35:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-20 13:33:11 +0200 |
commit | 8c8d6f08491479c23998cbfb96201f12acbd873a (patch) | |
tree | 445500c542eecc3161008fda549678f92382f94e /svx/source/svdraw/svdedtv.cxx | |
parent | e12ba2eddc827e39444f5efe6107d8afe1f7aaff (diff) |
loplugin: cstylecast
Change-Id: Ia3055b00c20a885dfa0584f864f0e91ccad1e9c9
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index fdca37d26875..8c6ca5d58ece 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -522,7 +522,7 @@ void SdrEditView::CheckPossibilities() if(SfxItemState::DONTCARE != eState) { // If state is not DONTCARE, test the item - drawing::FillStyle eFillStyle = ((XFillStyleItem&)(rSet.Get(XATTR_FILLSTYLE))).GetValue(); + drawing::FillStyle eFillStyle = static_cast<const XFillStyleItem&>(rSet.Get(XATTR_FILLSTYLE)).GetValue(); if(eFillStyle != drawing::FillStyle_GRADIENT) { @@ -623,7 +623,7 @@ void SdrEditView::CheckPossibilities() bGrpEnterPossible=bUnGroupPossible; } ImpCheckToTopBtmPossible(); - ((SdrPolyEditView*)this)->ImpCheckPolyPossibilities(); + static_cast<SdrPolyEditView*>(this)->ImpCheckPolyPossibilities(); bPossibilitiesDirty=false; if (bReadOnly) { |