summaryrefslogtreecommitdiff
path: root/basic/source/comp
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-22 12:26:52 +0100
committerEike Rathke <erack@redhat.com>2012-11-22 12:34:59 +0100
commit9955dbebbdf1b7d36fec272dfea46f57fab47e19 (patch)
tree80705ccc2382e7440ea76f62a544d64d12d1ce4f /basic/source/comp
parent9c5d6ea5efb5f56a4ac96b4a8505ed84abbbc6bf (diff)
AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
Diffstat (limited to 'basic/source/comp')
-rw-r--r--basic/source/comp/basiccharclass.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/basiccharclass.cxx b/basic/source/comp/basiccharclass.cxx
index e3a83f34a380..4b905d79bd50 100644
--- a/basic/source/comp/basiccharclass.cxx
+++ b/basic/source/comp/basiccharclass.cxx
@@ -100,7 +100,7 @@ bool BasicCharClass::isLetterUnicode( sal_Unicode c )
{
static CharClass* pCharClass = NULL;
if( pCharClass == NULL )
- pCharClass = new CharClass( Application::GetSettings().GetLocale() );
+ pCharClass = new CharClass( Application::GetSettings().GetLanguageTag().getLocale() );
// can we get pCharClass to accept a sal_Unicode instead of this waste?
return pCharClass->isLetter( rtl::OUString(c), 0 );
}