diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 11:19:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-24 11:01:42 +0200 |
commit | 87f6ca70a7c1ce94d6a5a32789ab430f6e604db6 (patch) | |
tree | 02ddf46d8b53c693499d1d83b0d4de308923bae7 /sc/source/core/tool/interpr2.cxx | |
parent | 13251ea5da9a1761740cc65ce6c50c897f12c698 (diff) |
some places where ScDocument* is never passed a nullptr
Change-Id: Ic15bebe20cdea9df2cd5afd7af666bc76c88c8c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103277
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/interpr2.cxx')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index e3ef57037476..49d6bfc95d1f 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -1356,7 +1356,7 @@ void ScInterpreter::ScNPV() FormulaError nErr = FormulaError::NONE; double fCellVal; PopDoubleRef( aRange, nParamCount, nRefInList); - ScHorizontalValueIterator aValIter( &mrDoc, aRange ); + ScHorizontalValueIterator aValIter( mrDoc, aRange ); while ((nErr == FormulaError::NONE) && aValIter.GetNext(fCellVal, nErr)) { fVal += (fCellVal / pow(1.0 + fRate, fCount)); |