vcl/source/gdi/sallayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b28bfc359bb8e550f1d9d2cc28222cb484767716 Author: Noel Grandin <[email protected]> AuthorDate: Thu Nov 6 09:30:36 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Nov 6 10:43:03 2025 +0100 lcl_CalcAsianKerning does not need to take sal_UCS4 it is only called with sal_Unicode data, and only uses 16-bit data internally Change-Id: I885fcfeb928fc9c9bb1750a55d8009da6c9f2c3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193514 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 5f6b0330dd7a..aed479f7a68d 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -451,7 +451,7 @@ void GenericSalLayout::Justify(double nNewWidth) // to enable automatic halfwidth substitution for fullwidth punctuation // return value is negative for l, positive for r, zero for neutral // TODO: handle vertical layout as proposed in commit 43bf2ad49c2b3989bbbe893e4fee2e032a3920f5? -static int lcl_CalcAsianKerning(sal_UCS4 c, bool bLeft) +static int lcl_CalcAsianKerning(sal_Unicode c, bool bLeft) { // http://www.asahi-net.or.jp/~sd5a-ucd/freetexts/jis/x4051/1995/appendix.html static const signed char nTable[0x30] =
