summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msdffimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 9c87dd4fc3f5..c3b1a95349c4 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4441,13 +4441,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
sal_Int32 nPaddingY = aObjData.aBoundRect.getHeight() - nNewHeight;
if ( nPaddingY > 0 )
- {
- // Remember that value because original size have to be exported
- aSet.Put( SdrMetricItem( SDRATTR_TEXT_UPPERDIST, nPaddingY ) );
aObjData.aBoundRect.setHeight( nNewHeight );
- }
- else
- aSet.Put( SdrMetricItem( SDRATTR_TEXT_UPPERDIST, 0 ) );
}
}
pRet->SetMergedItemSet( aSet );