summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-09-06 21:02:13 +0200
committerEike Rathke <erack@redhat.com>2022-09-07 00:21:57 +0200
commit19648eca2d9cd729251af5ddfca7aae2dd8c7e14 (patch)
tree42990a7ebf8b8753168f6859260220e9a5af323b /vcl/source
parent55e7de171b666a87f29f072e0a4787480946c066 (diff)
Use XCharacterClassification::getCharacterType() instead of getStringType()
Change-Id: I0bbd196a8691fb72a1f091af8825df749bfc7cb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139535 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/field2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 24bc1f73e528..89efabf08c3f 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -158,7 +158,7 @@ static bool ImplIsPatternChar( sal_Unicode cChar, char cEditMask )
try
{
OUString aCharStr(cChar);
- nType = ImplGetCharClass()->getStringType( aCharStr, 0, aCharStr.getLength(),
+ nType = ImplGetCharClass()->getCharacterType( aCharStr, 0,
Application::GetSettings().GetLanguageTag().getLocale() );
}
catch (const css::uno::Exception&)