summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-18 10:55:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-18 10:55:36 +0200
commita51c423743835793bf132c925ad962283fd2dc22 (patch)
tree830680b766492f00f7706ee6680dba4b644c1394 /svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx
parentb5a0b00d494928482e4dd44395765c480c8ae252 (diff)
Consistency around SdrMetricItem in svx/sdsxyitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx')
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx b/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx
index cc569c238490..6aeb71498031 100644
--- a/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrcaptionobj.cxx
@@ -145,8 +145,8 @@ namespace sdr
if(!aFill.isDefault() && 1.0 != aFill.getTransparence())
{
// add shadow offset to object matrix
- const sal_uInt32 nXDist(((SdrShadowXDistItem&)(rItemSet.Get(SDRATTR_SHADOWXDIST))).GetValue());
- const sal_uInt32 nYDist(((SdrShadowYDistItem&)(rItemSet.Get(SDRATTR_SHADOWYDIST))).GetValue());
+ const sal_uInt32 nXDist(((SdrMetricItem&)(rItemSet.Get(SDRATTR_SHADOWXDIST))).GetValue());
+ const sal_uInt32 nYDist(((SdrMetricItem&)(rItemSet.Get(SDRATTR_SHADOWYDIST))).GetValue());
if(nXDist || nYDist)
{