[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Thu Jun 1 18:53:00 UTC 2017


 sc/source/filter/excel/xetable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 259c2409310814ae62c8d0aefef19a71e8d88dbe
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

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