summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/dbfunc4.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-18 13:54:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-18 16:10:37 +0200
commit23ee72264ed802dc7839c1ae73b1b14382cf1f33 (patch)
treeb05141d8113ad58d01edfe0a8acb60bb629d4023 /sc/source/ui/view/dbfunc4.cxx
parent91bedcab61424cdfb2f3ba9e48481406fe141ceb (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/dbfunc4.cxx')
-rw-r--r--sc/source/ui/view/dbfunc4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/dbfunc4.cxx b/sc/source/ui/view/dbfunc4.cxx
index f13035b29108..56e1512c6775 100644
--- a/sc/source/ui/view/dbfunc4.cxx
+++ b/sc/source/ui/view/dbfunc4.cxx
@@ -56,7 +56,7 @@ sal_uInt16 ScDBFunc::DoUpdateCharts(const ScAddress& rPos, ScDocument& rDoc, boo
bool bColHeaders = false;
bool bRowHeaders = false;
rDoc.GetOldChartParameters(aName, aRanges, bColHeaders, bRowHeaders);
- bHit = aRanges.Contains(rPos);
+ bHit = aRanges.Contains(ScRange(rPos));
}
if (bHit)
{