diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-15 13:53:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-15 13:57:08 +0200 |
commit | 0ece187f92f9f87ae69b957c498cad8dcce56232 (patch) | |
tree | 1173470f1c2c5d965891f32ff7bff09ec9d778aa /svx/source/sdr/contact/viewcontactofsdrcircobj.cxx | |
parent | fb7b1f45f9593db2d040dfaa06db0ea60f5308ba (diff) |
loplugin: cstylecast
Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofsdrcircobj.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofsdrcircobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx b/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx index 79a849ccc0b7..bd07becacab3 100644 --- a/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrcircobj.cxx @@ -86,8 +86,8 @@ namespace sdr } else { - const sal_Int32 nNewStart(((SdrCircStartAngleItem&)rItemSet.Get(SDRATTR_CIRCSTARTANGLE)).GetValue()); - const sal_Int32 nNewEnd(((SdrCircEndAngleItem&)rItemSet.Get(SDRATTR_CIRCENDANGLE)).GetValue()); + const sal_Int32 nNewStart(static_cast<const SdrCircStartAngleItem&>(rItemSet.Get(SDRATTR_CIRCSTARTANGLE)).GetValue()); + const sal_Int32 nNewEnd(static_cast<const SdrCircEndAngleItem&>(rItemSet.Get(SDRATTR_CIRCENDANGLE)).GetValue()); const double fStart(((36000 - nNewEnd) % 36000) * F_PI18000); const double fEnd(((36000 - nNewStart) % 36000) * F_PI18000); const bool bCloseSegment(OBJ_CARC != nIdentifier); |