summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/core/drawdoc4.cxx16
-rw-r--r--sd/source/core/stlpool.cxx4
2 files changed, 10 insertions, 10 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 4f9b5f494e47..c138922b2985 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -177,8 +177,8 @@ void SdDrawDocument::CreateLayoutTemplates()
// Shadow attributes (Drawing Engine)
rISet.Put(makeSdrShadowItem(false));
rISet.Put(SdrShadowColorItem(RGB_Color(COL_GRAY)));
- rISet.Put(SdrShadowXDistItem(200)); // 3 mm Shadow distance
- rISet.Put(SdrShadowYDistItem(200));
+ rISet.Put(makeSdrShadowXDistItem(200)); // 3 mm Shadow distance
+ rISet.Put(makeSdrShadowYDistItem(200));
Font aLatinFont, aCJKFont, aCTLFont;
@@ -285,8 +285,8 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(makeSdrShadowItem(true));
pISet->Put(SdrShadowColorItem(RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(200)); // 3 mm shadow distance
- pISet->Put(SdrShadowYDistItem(200));
+ pISet->Put(makeSdrShadowXDistItem(200)); // 3 mm shadow distance
+ pISet->Put(makeSdrShadowYDistItem(200));
// Object without fillung
aName = SD_RESSTR(STR_POOLSHEET_OBJWITHOUTFILL);
@@ -384,8 +384,8 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(makeSdrShadowItem(true));
pISet->Put(SdrShadowColorItem(RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(200)); // 2 mm shadow distance
- pISet->Put(SdrShadowYDistItem(200));
+ pISet->Put(makeSdrShadowXDistItem(200)); // 2 mm shadow distance
+ pISet->Put(makeSdrShadowYDistItem(200));
pISet->Put(SvxFontHeightItem(846, 100, EE_CHAR_FONTHEIGHT )); // 24 pt
@@ -408,8 +408,8 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(makeSdrShadowItem(true));
pISet->Put(SdrShadowColorItem(RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(200)); // 2 mm shadow distance
- pISet->Put(SdrShadowYDistItem(200));
+ pISet->Put(makeSdrShadowXDistItem(200)); // 2 mm shadow distance
+ pISet->Put(makeSdrShadowYDistItem(200));
pISet->Put(SvxFontHeightItem(1270, 100, EE_CHAR_FONTHEIGHT )); // 36 pt
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index 824e05af097f..3fbfecf90e77 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -488,8 +488,8 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const OUString& rLayoutName, bool
SfxItemSet& rBackgroundObjectsSet = pSheet->GetItemSet();
rBackgroundObjectsSet.Put(makeSdrShadowItem(false));
rBackgroundObjectsSet.Put(SdrShadowColorItem(Color(COL_GRAY)));
- rBackgroundObjectsSet.Put(SdrShadowXDistItem(200)); // 3 mm shadow distance
- rBackgroundObjectsSet.Put(SdrShadowYDistItem(200));
+ rBackgroundObjectsSet.Put(makeSdrShadowXDistItem(200)); // 3 mm shadow distance
+ rBackgroundObjectsSet.Put(makeSdrShadowYDistItem(200));
// #i16874# enable kerning by default but only for new documents
rBackgroundObjectsSet.Put( SvxAutoKernItem( true, EE_CHAR_PAIRKERNING ) );
rBackgroundObjectsSet.Put(SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_BLOCK));