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/docshell/docsh8.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/docshell/docsh8.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh8.cxx | 2 |
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); } |