summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/e3dproperties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-17 10:35:35 +0200
committerNoel Grandin <noel@peralex.com>2014-10-20 13:33:11 +0200
commit8c8d6f08491479c23998cbfb96201f12acbd873a (patch)
tree445500c542eecc3161008fda549678f92382f94e /svx/source/sdr/properties/e3dproperties.cxx
parente12ba2eddc827e39444f5efe6107d8afe1f7aaff (diff)
loplugin: cstylecast
Change-Id: Ia3055b00c20a885dfa0584f864f0e91ccad1e9c9
Diffstat (limited to 'svx/source/sdr/properties/e3dproperties.cxx')
-rw-r--r--svx/source/sdr/properties/e3dproperties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/properties/e3dproperties.cxx b/svx/source/sdr/properties/e3dproperties.cxx
index 0dc7f00cee9f..922e2c749612 100644
--- a/svx/source/sdr/properties/e3dproperties.cxx
+++ b/svx/source/sdr/properties/e3dproperties.cxx
@@ -66,7 +66,7 @@ namespace sdr
void E3dProperties::ItemSetChanged(const SfxItemSet& rSet)
{
- E3dObject& rObj = (E3dObject&)GetSdrObject();
+ E3dObject& rObj = static_cast<E3dObject&>(GetSdrObject());
// call parent
AttributeProperties::ItemSetChanged(rSet);
@@ -81,7 +81,7 @@ namespace sdr
AttributeProperties::SetStyleSheet(pNewStyleSheet, bDontRemoveHardAttr);
// propagate call to contained objects
- const SdrObjList* pSub = ((const E3dObject&)GetSdrObject()).GetSubList();
+ const SdrObjList* pSub = static_cast<const E3dObject&>(GetSdrObject()).GetSubList();
const size_t nCount(pSub->GetObjCount());
for(size_t a = 0; a < nCount; ++a)