summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2023-10-17 18:39:01 +1100
committerTomaž Vajngerl <quikee@gmail.com>2023-11-19 02:21:38 +0100
commit72eaff7b6af01f3b6d9754660ce231e74d501466 (patch)
tree0090611f565cab083339cb69c59da1e4509e6dd6 /vcl
parentc0aacb30b73405f6d0213fcb85b53b6d0f0854d7 (diff)
vcl: ImplIsCharIn() -> lcl_IsCharIn()
Change-Id: I61b24783e39e9f904c48c0726024cd5fa122b724 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158076 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/text/textlayout.cxx14
1 files changed, 7 insertions, 7 deletions
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--;
}