diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | c85cda1eb461d1b27b49ad746e2b2299908b9e75 (patch) | |
tree | 1df53d37d1107029ef6a0761d302afb6d4f58abb /linguistic/source/dlistimp.cxx | |
parent | f1639b21507c04a4dfe152776224370eef7088df (diff) |
loplugin: defaultparams
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
Diffstat (limited to 'linguistic/source/dlistimp.cxx')
-rw-r--r-- | linguistic/source/dlistimp.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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 ); } |