summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh8.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/docshell/docsh8.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/docshell/docsh8.cxx')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 7fa58b0aba43..1ae715a12276 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -717,7 +717,7 @@ void lcl_getLongVarCharString(
{
const Color* pColor;
ScAddress aPos(nCol, nRow, nTab);
- sal_uInt32 nFormat = rDoc.GetNumberFormat(aPos);
+ sal_uInt32 nFormat = rDoc.GetNumberFormat(ScRange(aPos));
rString = ScCellFormat::GetString(rDoc, aPos, nFormat, &pColor, &rContext);
}