diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 11:55:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-18 19:57:28 +0200 |
commit | 08e85556d2ae66bdf43d908e1b9dfca4c78295e2 (patch) | |
tree | b49c1f8caf525a05eeb29c8a5373df88bd058770 /sc/source/core/tool/interpr1.cxx | |
parent | 0abf2ac27859f1e91a3d183b81948b1fe8f5aca3 (diff) |
ScCellIterator never passed a null ScDocument*
Change-Id: I5d8ea1533fe861cf969c2999343da217c82d54e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103006
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index cc2c337f3930..5616cc35bb6f 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5156,7 +5156,7 @@ void ScInterpreter::ScCountEmptyCells() static_cast<sal_uLong>(aRange.aEnd.Col() - aRange.aStart.Col() + 1) * static_cast<sal_uLong>(aRange.aEnd.Tab() - aRange.aStart.Tab() + 1); - ScCellIterator aIter( &mrDoc, aRange, mnSubTotalFlags); + ScCellIterator aIter( mrDoc, aRange, mnSubTotalFlags); for (bool bHas = aIter.first(); bHas; bHas = aIter.next()) { const ScRefCellValue& rCell = aIter.getRefCellValue(); |