1 Index: sc/source/core/data/docpool.cxx
2 ===================================================================
3 RCS file: /cvs/sc/sc/source/core/data/docpool.cxx,v
4 retrieving revision 1.24
5 diff -u -p -r1.24 docpool.cxx
6 --- sc/source/core/data/docpool.cxx 10 May 2007 16:43:34 -0000 1.24
7 +++ sc/source/core/data/docpool.cxx 28 Feb 2008 15:28:44 -0000
8 @@ -279,7 +279,10 @@ ScDocumentPool::ScDocumentPool( SfxItemP
9 ppPoolDefaults[ ATTR_SHRINKTOFIT - ATTR_STARTINDEX ] = new SfxBoolItem( ATTR_SHRINKTOFIT );
10 ppPoolDefaults[ ATTR_BORDER_TLBR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_TLBR );
11 ppPoolDefaults[ ATTR_BORDER_BLTR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_BLTR );
12 - ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = new SvxMarginItem( ATTR_MARGIN );
13 + SvxMarginItem* pItem = new SvxMarginItem( ATTR_MARGIN );
14 + pItem->SetTopMargin( 27 );
15 + pItem->SetBottomMargin( 27 );
16 + ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = pItem;
17 ppPoolDefaults[ ATTR_MERGE - ATTR_STARTINDEX ] = new ScMergeAttr;
18 ppPoolDefaults[ ATTR_MERGE_FLAG - ATTR_STARTINDEX ] = new ScMergeFlagAttr;
19 ppPoolDefaults[ ATTR_VALUE_FORMAT - ATTR_STARTINDEX ] = new SfxUInt32Item( ATTR_VALUE_FORMAT, 0 );