summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-02 17:23:46 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-02 17:29:27 +0200
commit843dd3f75e4d35b8ae5fd3be6804e54233292948 (patch)
treeb342af300fbed4dfc70fb73c9b04785e292f98c3
parent0987fc044ccc73dcb2f4daadc9e08322687a0663 (diff)
this hack in no longer needed, fdo#44337
excel import now uses the stored row height and we should go back to a symetric default margin
-rw-r--r--sc/source/core/data/docpool.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 3061856330bb..36f0d3b02fd4 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -275,10 +275,7 @@ ScDocumentPool::ScDocumentPool( SfxItemPool* pSecPool, sal_Bool bLoadRefCounts )
ppPoolDefaults[ ATTR_SHRINKTOFIT - ATTR_STARTINDEX ] = new SfxBoolItem( ATTR_SHRINKTOFIT );
ppPoolDefaults[ ATTR_BORDER_TLBR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_TLBR );
ppPoolDefaults[ ATTR_BORDER_BLTR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_BLTR );
- SvxMarginItem* pItem = new SvxMarginItem( ATTR_MARGIN );
- pItem->SetTopMargin( 27 );
- pItem->SetBottomMargin( 27 );
- ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = pItem;
+ ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = new SvxMarginItem( ATTR_MARGIN );
ppPoolDefaults[ ATTR_MERGE - ATTR_STARTINDEX ] = new ScMergeAttr;
ppPoolDefaults[ ATTR_MERGE_FLAG - ATTR_STARTINDEX ] = new ScMergeFlagAttr;
ppPoolDefaults[ ATTR_VALUE_FORMAT - ATTR_STARTINDEX ] = new SfxUInt32Item( ATTR_VALUE_FORMAT, 0 );