From 23ee72264ed802dc7839c1ae73b1b14382cf1f33 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 18 Jul 2024 13:54:51 +0200 Subject: 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 --- sc/source/ui/docshell/docsh8.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/docshell/docsh8.cxx') 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); } -- cgit