summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/html/htmlpars.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index d1a99003b11c..e1166542e2f5 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -828,12 +828,12 @@ void ScHTMLLayoutParser::SetWidths()
pWidths[nCol] = nW;
}
}
- for (SCCOL nCol = 1; nCol <= nColsPerRow; nCol++)
+ for (int nCol = 1; nCol <= nColsPerRow; nCol++)
{
pOffsets[nCol] = pOffsets[nCol-1] + pWidths[nCol-1];
}
xLocalColOffset->clear();
- for (SCCOL nCol = 0; nCol <= nColsPerRow; nCol++)
+ for (int nCol = 0; nCol <= nColsPerRow; nCol++)
{
MakeColNoRef( xLocalColOffset.get(), pOffsets[nCol], 0, 0, 0 );
}