From b796b24793827583550279d40bfe565c66ad284d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 Aug 2016 13:44:57 +0200 Subject: loplugin:countusersofdefaultparams in svl..unodevtools Change-Id: Ie3d2cf29e99b8a51b80246aafa23a92e6c3404b2 Reviewed-on: https://gerrit.libreoffice.org/28017 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/contnr/contentenumeration.hxx | 2 +- svtools/source/contnr/fileview.cxx | 2 +- svtools/source/contnr/imivctl.hxx | 16 ++++++++-------- svtools/source/control/roadmap.cxx | 2 +- svtools/source/uno/treecontrolpeer.cxx | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'svtools') diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index c287f3a64748..13dd8d8bc286 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -235,7 +235,7 @@ namespace svt */ EnumerationResult enumerateFolderContentSync( const FolderDescriptor& _rFolder, - const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >() + const css::uno::Sequence< OUString >& rBlackList ); /** cancels the running operation. diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 4f05be01106e..30e13de34141 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -362,7 +362,7 @@ public: FileViewResult GetFolderContent_Impl( const OUString& rFolder, const FileViewAsyncAction* pAsyncDescriptor, - const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >() ); + const css::uno::Sequence< OUString >& rBlackList ); FileViewResult GetFolderContent_Impl( const FolderDescriptor& _rFolder, diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx index af0f2d936ccb..a46b6795670b 100644 --- a/svtools/source/contnr/imivctl.hxx +++ b/svtools/source/contnr/imivctl.hxx @@ -212,7 +212,7 @@ class SvxIconChoiceCtrl_Impl void ShowCursor( bool bShow ); - void ImpArrange( bool bKeepPredecessors = false ); + void ImpArrange( bool bKeepPredecessors ); void AdjustVirtSize( const Rectangle& ); void ResetVirtSize(); void CheckScrollBars(); @@ -252,14 +252,14 @@ class SvxIconChoiceCtrl_Impl void SelectRect( SvxIconChoiceCtrlEntry* pEntry1, SvxIconChoiceCtrlEntry* pEntry2, - bool bAdd = true, - std::vector* pOtherRects = nullptr + bool bAdd, + std::vector* pOtherRects ); void SelectRange( SvxIconChoiceCtrlEntry* pStart, SvxIconChoiceCtrlEntry* pEnd, - bool bAdd = true + bool bAdd ); void AddSelectedRect( const Rectangle& ); @@ -328,7 +328,7 @@ public: void SetStyle( WinBits nWinStyle ); WinBits GetStyle() const { return nWinBits; } void InsertEntry( SvxIconChoiceCtrlEntry*, size_t nPos ); - void CreateAutoMnemonics( MnemonicGenerator* _pGenerator = nullptr ); + void CreateAutoMnemonics( MnemonicGenerator* _pGenerator ); void FontModified(); void SelectAll(); void SelectEntry( @@ -433,8 +433,8 @@ public: void SelectRect( const Rectangle&, - bool bAdd = true, - std::vector* pOtherRects = nullptr + bool bAdd, + std::vector* pOtherRects ); bool IsTextHit( SvxIconChoiceCtrlEntry* pEntry, const Point& rDocPos ); @@ -447,7 +447,7 @@ public: #ifdef DBG_UTIL void SetEntryTextMode( SvxIconChoiceCtrlTextMode, - SvxIconChoiceCtrlEntry* pEntry = nullptr + SvxIconChoiceCtrlEntry* pEntry ); #endif bool IsEntryEditingEnabled() const { return bEntryEditingEnabled; } diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 9799414ce13b..2503ff4a3c0d 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -69,7 +69,7 @@ public: void SetInteractive( bool _bInteractive ); void SetClickHdl( const Link& rLink ); - void Enable( bool bEnable = true); + void Enable( bool bEnable ); bool IsEnabled() const; void GrabFocus(); diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index bf334fac8993..053018ce06fa 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -87,7 +87,7 @@ public: virtual ~UnoTreeListBoxImpl(); virtual void dispose() override; - void insert( SvTreeListEntry* pEntry,SvTreeListEntry* pParent,sal_uLong nPos=TREELIST_APPEND ); + void insert( SvTreeListEntry* pEntry, SvTreeListEntry* pParent, sal_uLong nPos ); virtual void RequestingChildren( SvTreeListEntry* pParent ) override; -- cgit