diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-07 08:09:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 09:16:00 +0000 |
commit | 359e0b47a0f96ffa595a0c38a5e5318d797812fe (patch) | |
tree | 3695eb961668945dda469fc659337cbdd8c89520 /vcl/unx | |
parent | cc84aaf70ac56092b32d1d329143eca0550dce12 (diff) |
loplugin:unuseddefaultparams
Change-Id: Ia414f7845425ef73859ed04853378e96cc738795
Reviewed-on: https://gerrit.libreoffice.org/22971
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index bb7db4a0622d..75df5943bb5d 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -105,21 +105,18 @@ namespace psp OUString translateValue( const OUString& i_rKey, const OUString& i_rOption, - const OUString& i_rValue, - const css::lang::Locale& i_rLocale = css::lang::Locale() + const OUString& i_rValue ) const; OUString translateOption( const OUString& i_rKey, - const OUString& i_rOption, - const css::lang::Locale& i_rLocale = css::lang::Locale() ) const + const OUString& i_rOption ) const { - return translateValue( i_rKey, i_rOption, OUString(), i_rLocale ); + return translateValue( i_rKey, i_rOption, OUString() ); } - OUString translateKey( const OUString& i_rKey, - const css::lang::Locale& i_rLocale = css::lang::Locale() ) const + OUString translateKey( const OUString& i_rKey ) const { - return translateValue( i_rKey, OUString(), OUString(), i_rLocale ); + return translateValue( i_rKey, OUString(), OUString() ); } }; @@ -192,8 +189,7 @@ namespace psp OUString PPDTranslator::translateValue( const OUString& i_rKey, const OUString& i_rOption, - const OUString& i_rValue, - const css::lang::Locale& i_rLocale + const OUString& i_rValue ) const { OUString aResult; @@ -218,7 +214,7 @@ namespace psp { const translation_map& rMap( it->second ); - css::lang::Locale aLoc( normalizeInputLocale( i_rLocale, true ) ); + css::lang::Locale aLoc( normalizeInputLocale( css::lang::Locale(), true ) ); /* FIXME-BCP47: use LanguageTag::getFallbackStrings()? */ for( int nTry = 0; nTry < 4; nTry++ ) { |