sc/source/core/data/table3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e554d2b7f6d6c6abbc89ff293944be473b0e1de4
Author: Tor Lillqvist <t...@collabora.com>
Date:   Thu Aug 18 22:48:10 2016 +0300

    loplugin:loopvartoosmall
    
    Change-Id: I1b7c1172b907a9bdc513324ccb91acc0d647fdb4

diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 23b7b5f..a65e0c5 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -3302,7 +3302,7 @@ bool ScTable::HasRowHeader( SCCOL nStartCol, SCROW 
nStartRow, SCCOL nEndCol, SCR
 
     // First column all text cells, any non-text cell in second column => 
headers.
     SCROW nTestCol = nStartCol + 1;
-    for (SCCOL nRow=nStartRow; nRow<=nEndRow; nRow++)
+    for (SCROW nRow=nStartRow; nRow<=nEndRow; nRow++)
     {
         CellType eType = GetCellType( nRow, nTestCol );
         if (eType != CELLTYPE_STRING && eType != CELLTYPE_EDIT)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to