diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 09:07:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 13:09:29 +0100 |
commit | eb5d232342b1d0f596b6e9c5f8df740a6ec614ff (patch) | |
tree | 9c5a4563ba98c427fa43aef7ee01581789708a66 /include | |
parent | 33a3de2f0ce2b18d8149dc68c3de16541adfc530 (diff) |
loplugin:constantparam in i18nlangtag
Change-Id: I148a47a9b63b78651ec18cd947f45b8f4dbb9345
Reviewed-on: https://gerrit.libreoffice.org/44094
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/i18nlangtag/mslangid.hxx | 10 | ||||
-rw-r--r-- | include/linguistic/spelldta.hxx | 3 |
2 files changed, 3 insertions, 10 deletions
diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx index c9851e098e1c..fde9087a4f7f 100644 --- a/include/i18nlangtag/mslangid.hxx +++ b/include/i18nlangtag/mslangid.hxx @@ -267,15 +267,9 @@ public: const Bcp47CountryEntry * pEntry ); - /** Convert a LanguageType to a Locale. - - @param bResolveSystem - If bResolveSystem==true, a LANGUAGE_SYSTEM is resolved. - If bResolveSystem==false, a LANGUAGE_SYSTEM results in an - empty Locale. - */ + /** Convert a LanguageType to a Locale. */ I18NLANGTAG_DLLPRIVATE static css::lang::Locale convertLanguageToLocale( - LanguageType nLang, bool bResolveSystem ); + LanguageType nLang ); /** Used by convertLanguageToLocale(LanguageType,bool) and getLocale(IsoLanguageCountryEntry*) and diff --git a/include/linguistic/spelldta.hxx b/include/linguistic/spelldta.hxx index 5c98989059f4..11bb9a1ec9c1 100644 --- a/include/linguistic/spelldta.hxx +++ b/include/linguistic/spelldta.hxx @@ -41,8 +41,7 @@ namespace linguistic std::vector< OUString > MergeProposalSeqs( std::vector< OUString > &rAlt1, - std::vector< OUString > &rAlt2, - bool bAllowDuplicates ); + std::vector< OUString > &rAlt2 ); void SeqRemoveNegEntries( std::vector< OUString > &rSeq, |