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 <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
This commit is contained in:
Noel Grandin
2025-11-06 13:19:11 +01:00
parent 22a6748e07
commit aee2b5514e
+1 -1
View File
@@ -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))