vcl/source/text/ImplLayoutArgs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit aee2b5514e1ad41ab665f7125cbe589fe1495cd7 Author: Noel Grandin <[email protected]> AuthorDate: Thu Nov 6 10:48:16 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Nov 6 13:19:11 2025 +0100 IsControlChar does not need to take sal_UCS4 it is only called with sal_Unicode data, and only uses 16-bit data internally Change-Id: I43d482ed395db59ca71ed5de64ec592051c46f6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193517 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/vcl/source/text/ImplLayoutArgs.cxx b/vcl/source/text/ImplLayoutArgs.cxx index 73e470ecfe0c..5801229a5d3b 100644 --- a/vcl/source/text/ImplLayoutArgs.cxx +++ b/vcl/source/text/ImplLayoutArgs.cxx @@ -109,7 +109,7 @@ void ImplLayoutArgs::AddFallbackRun(int nMinRunPos, int nEndRunPos, bool bRTL) bool ImplLayoutArgs::HasFallbackRun() const { return !maFallbackRuns.IsEmpty(); } -static bool IsControlChar(sal_UCS4 cChar) +static bool IsControlChar(sal_Unicode cChar) { // C0 control characters if ((0x0001 <= cChar) && (cChar <= 0x001F))
