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/interpr4.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/interpr4.cxx')
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index d63698c0411f..95670a9df55c 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -2796,7 +2796,7 @@ void ScInterpreter::ScExternal() { ScRange aRange; PopDoubleRef( aRange ); - if (!ScRangeToSequence::FillLongArray( aParam, &mrDoc, aRange )) + if (!ScRangeToSequence::FillLongArray( aParam, mrDoc, aRange )) SetError(FormulaError::IllegalParameter); } break; @@ -2827,7 +2827,7 @@ void ScInterpreter::ScExternal() { ScRange aRange; PopDoubleRef( aRange ); - if (!ScRangeToSequence::FillDoubleArray( aParam, &mrDoc, aRange )) + if (!ScRangeToSequence::FillDoubleArray( aParam, mrDoc, aRange )) SetError(FormulaError::IllegalParameter); } break; @@ -2858,7 +2858,7 @@ void ScInterpreter::ScExternal() { ScRange aRange; PopDoubleRef( aRange ); - if (!ScRangeToSequence::FillStringArray( aParam, &mrDoc, aRange )) + if (!ScRangeToSequence::FillStringArray( aParam, mrDoc, aRange )) SetError(FormulaError::IllegalParameter); } break; @@ -2909,7 +2909,7 @@ void ScInterpreter::ScExternal() { ScRange aRange; PopDoubleRef( aRange ); - if (!ScRangeToSequence::FillMixedArray( aParam, &mrDoc, aRange )) + if (!ScRangeToSequence::FillMixedArray( aParam, mrDoc, aRange )) SetError(FormulaError::IllegalParameter); } break; @@ -2953,7 +2953,7 @@ void ScInterpreter::ScExternal() { ScRange aRange; PopDoubleRef( aRange ); - if (!ScRangeToSequence::FillMixedArray( aParam, &mrDoc, aRange )) + if (!ScRangeToSequence::FillMixedArray( aParam, mrDoc, aRange )) SetError(FormulaError::IllegalParameter); } break; |