summaryrefslogtreecommitdiffstats
path: root/i18npool/source/breakiterator/xdictionary.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index 69aba9c43ae4..18babd5c4cf0 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -149,7 +149,7 @@ void xdictionary::initDictionaryData(const sal_Char *pLang)
osl::MutexGuard aGuard( osl::Mutex::getGlobalMutex() );
for(datacache & i : aLoadedCache)
{
- if( !strcmp( pLang, i.maLang.getStr() ) )
+ if( i.maLang != pLang )
{
data = i.maData;
return;