From ef513fd4b049b214a03fbe6e62a5ea43680a7a9b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 26 May 2017 10:58:42 +0200 Subject: remove unnecessary use of OString::getStr Change-Id: I0490efedf459190521f4339854b3394d57765fdb Reviewed-on: https://gerrit.libreoffice.org/38058 Tested-by: Jenkins Reviewed-by: Noel Grandin --- i18npool/source/breakiterator/xdictionary.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool/source/breakiterator/xdictionary.cxx') 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; -- cgit