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 | |
parent | f1639b21507c04a4dfe152776224370eef7088df (diff) |
loplugin: defaultparams
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
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 ); } |