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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user