vcl/source/text/textlayout.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
New commits: commit 72eaff7b6af01f3b6d9754660ce231e74d501466 Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Tue Oct 17 18:39:01 2023 +1100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Sun Nov 19 02:21:38 2023 +0100 vcl: ImplIsCharIn() -> lcl_IsCharIn() Change-Id: I61b24783e39e9f904c48c0726024cd5fa122b724 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158076 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/text/textlayout.cxx b/vcl/source/text/textlayout.cxx index dd05d57f77c3..a9e219099191 100644 --- a/vcl/source/text/textlayout.cxx +++ b/vcl/source/text/textlayout.cxx @@ -30,7 +30,7 @@ #include <textlayout.hxx> #include <textlineinfo.hxx> -static bool ImplIsCharIn(sal_Unicode c, const char* pStr) +static bool lcl_IsCharIn(sal_Unicode c, const char* pStr) { while ( *pStr ) { @@ -124,11 +124,11 @@ namespace vcl { nLastContent--; - if (ImplIsCharIn(aStr[nLastContent], pSepChars)) + if (lcl_IsCharIn(aStr[nLastContent], pSepChars)) break; } - while (nLastContent && ImplIsCharIn(aStr[nLastContent-1], pSepChars)) + while (nLastContent && lcl_IsCharIn(aStr[nLastContent-1], pSepChars)) { nLastContent--; } @@ -143,11 +143,11 @@ namespace vcl while (nFirstContent < nLastContent) { nFirstContent++; - if (ImplIsCharIn(aStr[nFirstContent], pSepChars)) + if (lcl_IsCharIn(aStr[nFirstContent], pSepChars)) break; } - while ((nFirstContent < nLastContent) && ImplIsCharIn(aStr[nFirstContent], pSepChars)) + while ((nFirstContent < nLastContent) && lcl_IsCharIn(aStr[nFirstContent], pSepChars)) { nFirstContent++; } @@ -174,12 +174,12 @@ namespace vcl while (nFirstContent < nLastContent) { nLastContent--; - if (ImplIsCharIn(aStr[nLastContent], pSepChars)) + if (lcl_IsCharIn(aStr[nLastContent], pSepChars)) break; } - while ((nFirstContent < nLastContent) && ImplIsCharIn(aStr[nLastContent-1], pSepChars)) + while ((nFirstContent < nLastContent) && lcl_IsCharIn(aStr[nLastContent-1], pSepChars)) { nLastContent--; }