summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-06-01 20:50:27 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-01 23:26:53 +0200
commit190c0d9ed02a5ed0659b07955b839bb16b1ba638 (patch)
treea6656a1e67883abb9607059c6521ac848844bc6c
parent3831605e0ec55a3dab4090449d495b142a33c2c7 (diff)
Resolves: tdf#108279 dimension rows are 32-bit and don't wrap at 64k
Change-Id: I7bf7a149fb1db526ef62bea2f52b200cf5053cc2 (cherry picked from commit 259c2409310814ae62c8d0aefef19a71e8d88dbe) Reviewed-on: https://gerrit.libreoffice.org/38331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/filter/excel/xetable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index 45db9a1c8693..29257f2df5ed 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -2309,7 +2309,7 @@ void XclExpRowBuffer::Finalize( XclExpDefaultRowData& rDefRowData, const ScfUInt
// find used row range
if( rRow->IsEnabled() )
{
- sal_uInt16 nXclRow = rRow->GetXclRow();
+ sal_uInt32 nXclRow = rRow->GetXclRow();
nFirstUsedXclRow = ::std::min< sal_uInt32 >( nFirstUsedXclRow, nXclRow );
nFirstFreeXclRow = ::std::max< sal_uInt32 >( nFirstFreeXclRow, nXclRow + 1 );
}