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/ui/view/viewfun2.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/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 2bdd53892bf3..c0f28d7017a8 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1985,7 +1985,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, { sc::SearchResultsDlg* pDlg = static_cast<sc::SearchResultsDlg*>(pWnd->GetController().get()); if (pDlg) - pDlg->FillResults(&rDoc, aMatchedRanges, + pDlg->FillResults(rDoc, aMatchedRanges, pSearchItem->GetCellType() == SvxSearchCellType::NOTE); } } |