diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-25 14:04:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:44:50 +0000 |
commit | 9870f02b310567c1d50c8e11a49afea5fdc549a0 (patch) | |
tree | fea702de7355228bd4b5facfaa99430b658897f1 /vcl/unx | |
parent | 1485074d84f7804a2942d4942d7d194039948d05 (diff) |
loplugin:countusersofdefaultparams in tools..xmlsecurity
find methods with default params with only zero or one call site
Change-Id: Ie5b30f60e9fe00ba1acf0dfc79b005ded46f05a0
Reviewed-on: https://gerrit.libreoffice.org/27512
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_selection.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx index 9a678b26f351..232a2ade59c9 100644 --- a/vcl/unx/generic/dtrans/X11_selection.hxx +++ b/vcl/unx/generic/dtrans/X11_selection.hxx @@ -418,7 +418,7 @@ namespace x11 { // compound text conversion OString convertToCompound( const OUString& rText ); - OUString convertFromCompound( const char* pText, int nLen = -1 ); + OUString convertFromCompound( const char* pText, int nLen ); sal_Int8 getUserDragAction() const; sal_Int32 getSelectionTimeout(); diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 3024b1ed6fa0..2a62dcf21ce0 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -122,7 +122,7 @@ namespace psp static css::lang::Locale normalizeInputLocale( const css::lang::Locale& i_rLocale, - bool bInsertDefault = false + bool bInsertDefault ) { css::lang::Locale aLoc( i_rLocale ); |