diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 16 | ||||
-rw-r--r-- | sd/source/core/stlpool.cxx | 4 |
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)); |