diff options
Diffstat (limited to 'sd/source/core/stlpool.cxx')
-rwxr-xr-x | sd/source/core/stlpool.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 138863cc313a..e89520d493f5 100755 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -254,6 +254,8 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo rSet.Put( SvxColorItem( Color(COL_AUTO), EE_CHAR_COLOR) ); rSet.Put( XLineStyleItem(XLINE_NONE) ); rSet.Put( XFillStyleItem(XFILL_NONE) ); + rSet.Put( SdrTextFitToSizeTypeItem(SDRTEXTFIT_AUTOFIT) ); + rSet.Put( SdrTextAutoGrowHeightItem(FALSE) ); // #i16874# enable kerning by default but only for new documents rSet.Put( SvxAutoKernItem( TRUE, EE_CHAR_PAIRKERNING ) ); |