diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 10:20:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-18 14:22:13 +0200 |
commit | 30bb3657ee78b7d3b0a7d26f80bf1ff94b16f51c (patch) | |
tree | e2f96cc04c33f3e62c422505a4cdd5e0740ea9f6 /sc/source/ui/dialogs/searchresults.cxx | |
parent | 897bd0517d835ba00458279311e5d8ff11079dd7 (diff) |
ScAddress::Parse never passed a null ScDocument*
Change-Id: I8832f2cc4311b30b9a15883e831260a19d089a57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102974
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/dialogs/searchresults.cxx')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index 0f94c64f32e7..c855b7db87d7 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -224,7 +224,7 @@ IMPL_LINK_NOARG( SearchResultsDlg, ListSelectHdl, weld::TreeView&, void ) return; ScAddress aPos; - ScRefFlags nRes = aPos.Parse(aPosStr, mpDoc, mpDoc->GetAddressConvention()); + ScRefFlags nRes = aPos.Parse(aPosStr, *mpDoc, mpDoc->GetAddressConvention()); if (!(nRes & ScRefFlags::VALID)) // Invalid address string. return; |