diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-12 16:34:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-13 15:16:38 +0200 |
commit | bc908eb37e4cb1a37a1123ed141a6999760a6343 (patch) | |
tree | fae8873b46283171fdbd0111a3bd47349f63c6f2 /sc/source/core/tool/interpr4.cxx | |
parent | d08ac694a60af612fe603e90eb60d25a1ce290c8 (diff) |
ScDBQueryDataIterator is never passed a null ScDocument
Change-Id: Ibcf9e6c212186fe1f8bc9d03413e4efc423c62d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102527
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/interpr4.cxx')
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 1d5b37fff09b..367824956cea 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -2491,7 +2491,7 @@ void ScInterpreter::ScDBGet() } pQueryParam->mbSkipString = false; - ScDBQueryDataIterator aValIter(&mrDoc, mrContext, std::move(pQueryParam)); + ScDBQueryDataIterator aValIter(mrDoc, mrContext, std::move(pQueryParam)); ScDBQueryDataIterator::Value aValue; if (!aValIter.GetFirst(aValue) || aValue.mnError != FormulaError::NONE) { |