Kaydet (Commit) b2e5de0b authored tarafından Eike Rathke's avatar Eike Rathke

replace for with while

'i' was unused now..

Change-Id: I1ee7c5af75d049b0dfec6d3a17d730503c71ffc6
üst 834eddc8
...@@ -753,7 +753,7 @@ void ScDBData::RefreshTableColumnNames( ScDocument* pDoc, const ScRange& rRange ...@@ -753,7 +753,7 @@ void ScDBData::RefreshTableColumnNames( ScDocument* pDoc, const ScRange& rRange
ScRefCellValue* pCell; ScRefCellValue* pCell;
SCCOL nCol; SCCOL nCol;
SCROW nRow; SCROW nRow;
for (size_t i=0; (pCell = aIter.GetNext( nCol, nRow)) != nullptr; ++i) while((pCell = aIter.GetNext( nCol, nRow)) != nullptr)
{ {
if (pCell->hasString()) if (pCell->hasString())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment