diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-18 13:54:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-18 16:10:37 +0200 |
commit | 23ee72264ed802dc7839c1ae73b1b14382cf1f33 (patch) | |
tree | b05141d8113ad58d01edfe0a8acb60bb629d4023 /sc/source/ui/view/spellcheckcontext.cxx | |
parent | 91bedcab61424cdfb2f3ba9e48481406fe141ceb (diff) |
make ScRange single-arg constructor explicit
Change-Id: Ie24e1e601b639dd62dbb8a201378a970699b20ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170686
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/spellcheckcontext.cxx')
-rw-r--r-- | sc/source/ui/view/spellcheckcontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/spellcheckcontext.cxx b/sc/source/ui/view/spellcheckcontext.cxx index b18483aa8817..890940531874 100644 --- a/sc/source/ui/view/spellcheckcontext.cxx +++ b/sc/source/ui/view/spellcheckcontext.cxx @@ -272,7 +272,7 @@ void SpellCheckContext::ensureResults(SCCOL nCol, SCROW nRow) if (ScDPCollection* pDPs = pDoc->GetDPCollection()) { ScRangeList aPivotRanges = pDPs->GetAllTableRanges(mnTab); - if (aPivotRanges.Contains(ScAddress(nCol, nRow, mnTab))) // Don't spell check within pivot tables + if (aPivotRanges.Contains(ScRange(ScAddress(nCol, nRow, mnTab)))) // Don't spell check within pivot tables { mpResult->set(nCol, nRow, nullptr); return; |