summaryrefslogtreecommitdiff
path: root/svtools/source/edit/syntaxhighlight.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/edit/syntaxhighlight.cxx')
-rw-r--r--svtools/source/edit/syntaxhighlight.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/edit/syntaxhighlight.cxx b/svtools/source/edit/syntaxhighlight.cxx
index 2efa5a96d93f..7db7b722b660 100644
--- a/svtools/source/edit/syntaxhighlight.cxx
+++ b/svtools/source/edit/syntaxhighlight.cxx
@@ -330,7 +330,7 @@ bool LetterTable::isLetterUnicode( sal_Unicode c )
{
static CharClass* pCharClass = NULL;
if( pCharClass == NULL )
- pCharClass = new CharClass( Application::GetSettings().GetLanguageTag().getLocale() );
+ pCharClass = new CharClass( Application::GetSettings().GetLanguageTag() );
rtl::OUString aStr( c );
bool bRet = pCharClass->isLetter( aStr, 0 );
return bRet;