summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/dbdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/dbdata.cxx')
-rw-r--r--sc/source/core/tool/dbdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 33c8681e6309..57295bedf538 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -786,7 +786,7 @@ void ScDBData::RefreshTableColumnNames( ScDocument* pDoc )
bHaveEmpty = true; // Assume we have empty ones and fill below.
else
{
- ScHorizontalCellIterator aIter( pDoc, nTable, nStartCol, nStartRow, nEndCol, nStartRow); // header row only
+ ScHorizontalCellIterator aIter(*pDoc, nTable, nStartCol, nStartRow, nEndCol, nStartRow); // header row only
ScRefCellValue* pCell;
SCCOL nCol, nLastColFilled = nStartCol - 1;
SCROW nRow;