[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source
Eike Rathke
erack at redhat.com
Thu Jun 1 20:26:04 UTC 2017
sc/source/filter/excel/xetable.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e81a6b8a7531cb9f3066234cc4cda53ed7ecd8a9
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jun 1 20:50:27 2017 +0200
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/38330
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index d09dd2e62eca..1f3c400b336f 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -2311,7 +2311,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 );
}
More information about the Libreoffice-commits
mailing list