summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index 1c27461635cc..f6f7fb70a200 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -753,16 +753,6 @@ void SheetDataBuffer::applyCellMerging( const CellRangeAddress& rRange )
// do merge
if( bMultiCol || bMultiRow )
rDoc.DoMerge( getSheetIndex(), rStart.Col(), rStart.Row(), rEnd.Col(), rEnd.Row() );
- // #i93609# merged range in a single row: test if manual row height is needed
- if( !bMultiRow )
- {
- bool bTextWrap = static_cast< const SfxBoolItem* >( rDoc.GetAttr( rStart.Col(), rStart.Row(), rStart.Tab(), ATTR_LINEBREAK ) )->GetValue();
- if( !bTextWrap && (rDoc.GetCellType( rStart ) == CELLTYPE_EDIT) )
- {
- if (const EditTextObject* pEditObj = rDoc.GetEditText(rStart))
- bTextWrap = pEditObj->GetParagraphCount() > 1;
- }
- }
}
} // namespace xls