summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconrec.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-04 11:29:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-04 11:29:51 +0200
commit768d32cf5b7dc35ab1b93e898e1bb5beab43c27c (patch)
tree7de7cb2ddb064469385520e0a74e03a349f4f689 /sd/source/ui/func/fuconrec.cxx
parent83f37705679f5176f0aa0c8e58da681c0a3c2319 (diff)
Consistency around SdrMetricItem in svx/sdtditm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
Diffstat (limited to 'sd/source/ui/func/fuconrec.cxx')
-rw-r--r--sd/source/ui/func/fuconrec.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx
index 3758ba214392..a92d4bd24f4f 100644
--- a/sd/source/ui/func/fuconrec.cxx
+++ b/sd/source/ui/func/fuconrec.cxx
@@ -482,10 +482,10 @@ void FuConstructRectangle::SetAttributes(SfxItemSet& rAttr, SdrObject* pObj)
rAttr.Put( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_BLOCK ) );
rAttr.Put( SvxAdjustItem( SVX_ADJUST_CENTER, EE_PARA_JUST ) );
- rAttr.Put( SdrTextLeftDistItem( 100 ) );
- rAttr.Put( SdrTextRightDistItem( 100 ) );
- rAttr.Put( SdrTextUpperDistItem( 100 ) );
- rAttr.Put( SdrTextLowerDistItem( 100 ) );
+ rAttr.Put( makeSdrTextLeftDistItem( 100 ) );
+ rAttr.Put( makeSdrTextRightDistItem( 100 ) );
+ rAttr.Put( makeSdrTextUpperDistItem( 100 ) );
+ rAttr.Put( makeSdrTextLowerDistItem( 100 ) );
}
else if (nSlotId == SID_DRAW_MEASURELINE)
{