diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 20:40:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-17 15:34:22 +0200 |
commit | 9a31b606d39f90c72dd674b0f4f6a37c44fac5ef (patch) | |
tree | a379c0dbec5c137de62ca1376f90f20b9439fd33 /sc/source/ui/uitest/uiobject.cxx | |
parent | e738683f98559af330a1cc36d8d0a1be11abb355 (diff) |
GetRangeFromString, etc. never passed a null ScDocument*
for the xml case this isn't immediately obvious, but pDoc should
only be null between Init and Destroy.
Change-Id: I7def8df4a4144964e3ec10964819451eb8316836
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102915
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/uitest/uiobject.cxx')
-rw-r--r-- | sc/source/ui/uitest/uiobject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/uitest/uiobject.cxx b/sc/source/ui/uitest/uiobject.cxx index 21b101b5bf46..f408ce7328bf 100644 --- a/sc/source/ui/uitest/uiobject.cxx +++ b/sc/source/ui/uitest/uiobject.cxx @@ -46,7 +46,7 @@ ScRange get_range_from_string(const ScDocument& rDoc, const OUString& rStr) { ScRange aRange; sal_Int32 nOffset = 0; - ScRangeStringConverter::GetRangeFromString(aRange, rStr, &rDoc, formula::FormulaGrammar::CONV_OOO, nOffset); + ScRangeStringConverter::GetRangeFromString(aRange, rStr, rDoc, formula::FormulaGrammar::CONV_OOO, nOffset); return aRange; } |