diff options
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdiclist.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/dlistimp.cxx | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index c5d8487f7d21..380703b61bfe 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -329,8 +329,7 @@ void ConvDicNameContainer::AddConvDics( // get decoded dictionary file name INetURLObject aURLObj( aURL ); OUString aDicName = aURLObj.getBase( INetURLObject::LAST_SEGMENT, - true, INetURLObject::DECODE_WITH_CHARSET, - RTL_TEXTENCODING_UTF8 ); + true, INetURLObject::DECODE_WITH_CHARSET ); uno::Reference < XConversionDictionary > xDic; if (nLang == LANGUAGE_KOREAN && diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 5a4f46570b54..38bbf39443fe 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -353,8 +353,7 @@ void DicList::SearchForDictionaries( // get decoded dictionary file name INetURLObject aURLObj( aURL ); OUString aDicName = aURLObj.getName( INetURLObject::LAST_SEGMENT, - true, INetURLObject::DECODE_WITH_CHARSET, - RTL_TEXTENCODING_UTF8 ); + true, INetURLObject::DECODE_WITH_CHARSET ); DictionaryType eType = bNeg ? DictionaryType_NEGATIVE : DictionaryType_POSITIVE; uno::Reference< XDictionary > xDic = @@ -555,7 +554,7 @@ uno::Reference< XDictionary > SAL_CALL osl::MutexGuard aGuard( GetLinguMutex() ); sal_Int16 nLanguage = LinguLocaleToLanguage( rLocale ); - bool bIsWriteablePath = rURL.match( GetDictionaryWriteablePath(), 0 ); + bool bIsWriteablePath = rURL.match( GetDictionaryWriteablePath() ); return new DictionaryNeo( rName, nLanguage, eDicType, rURL, bIsWriteablePath ); } |