summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-15 13:53:53 +0200
committerNoel Grandin <noel@peralex.com>2014-10-15 13:57:08 +0200
commit0ece187f92f9f87ae69b957c498cad8dcce56232 (patch)
tree1173470f1c2c5d965891f32ff7bff09ec9d778aa /svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
parentfb7b1f45f9593db2d040dfaa06db0ea60f5308ba (diff)
loplugin: cstylecast
Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx')
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
index bf6a31e218ef..9ec7ccf0d83f 100644
--- a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
@@ -216,7 +216,7 @@ namespace sdr
}
// check if SdrTextWordWrapItem is set
- bWordWrap = ((SdrOnOffItem&)(GetCustomShapeObj().GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue();
+ bWordWrap = (static_cast<const SdrOnOffItem&>(GetCustomShapeObj().GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue();
}
// create primitive