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/sdr/properties/circleproperties.cxx | |
parent | e12ba2eddc827e39444f5efe6107d8afe1f7aaff (diff) |
loplugin: cstylecast
Change-Id: Ia3055b00c20a885dfa0584f864f0e91ccad1e9c9
Diffstat (limited to 'svx/source/sdr/properties/circleproperties.cxx')
-rw-r--r-- | svx/source/sdr/properties/circleproperties.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/properties/circleproperties.cxx b/svx/source/sdr/properties/circleproperties.cxx index eb9329177e5c..a2a1bfe4d867 100644 --- a/svx/source/sdr/properties/circleproperties.cxx +++ b/svx/source/sdr/properties/circleproperties.cxx @@ -73,7 +73,7 @@ namespace sdr void CircleProperties::ItemSetChanged(const SfxItemSet& rSet) { - SdrCircObj& rObj = (SdrCircObj&)GetSdrObject(); + SdrCircObj& rObj = static_cast<SdrCircObj&>(GetSdrObject()); // call parent RectangleProperties::ItemSetChanged(rSet); @@ -84,7 +84,7 @@ namespace sdr void CircleProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) { - SdrCircObj& rObj = (SdrCircObj&)GetSdrObject(); + SdrCircObj& rObj = static_cast<SdrCircObj&>(GetSdrObject()); // local changes rObj.SetXPolyDirty(); @@ -98,7 +98,7 @@ namespace sdr void CircleProperties::ForceDefaultAttributes() { - SdrCircObj& rObj = (SdrCircObj&)GetSdrObject(); + SdrCircObj& rObj = static_cast<SdrCircObj&>(GetSdrObject()); SdrCircKind eKindA = SDRCIRC_FULL; SdrObjKind eKind = rObj.GetCircleKind(); |