summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-02 17:23:46 +0200
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-02 16:28:20 -0400
commit643fd5a6d2f72e55b243290b85be25f77dcf7be8 (patch)
tree0e0f1cf21c9f6365c1fec5b3f1973fa4741d185c /sc
parentb2d8d2d3cacbfc6d505248b81ea0e94272def439 (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 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'sc')
-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 );