diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2011-12-15 16:49:52 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2011-12-15 21:02:25 +0530 |
commit | cb010c378dfb60fa82a3dfbcd1bcd20e5b26df48 (patch) | |
tree | 53772b0d210a99a18e875595f4b2cfdacbd35677 /sc | |
parent | 968dee3f4e392753d1663d8a5fc2f73e696003e1 (diff) |
fdo#33747: Row Height is unnecessarily large.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/impop.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index 3c9648107405..533bbb9173ad 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -937,6 +937,10 @@ void ImportExcel::Row34( void ) aIn >> nRowHeight; // direkt in Twips angegeben aIn.Ignore( 4 ); + nRowHeight = nRowHeight & 0x7FFF; // Bit 15: Row Height not changed manually + if( !nRowHeight ) + nRowHeight = (GetBiff() == EXC_BIFF2) ? 0x25 : 0x225; + aIn >> nGrbit >> nXF; sal_uInt8 nLevel = ::extract_value< sal_uInt8 >( nGrbit, 0, 3 ); |