summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-10 13:44:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-11 06:04:52 +0000
commitb796b24793827583550279d40bfe565c66ad284d (patch)
treec727fbab95059956287850ac817d8f9c1bb422f4 /svtools
parenta97e6990435bbc47be4a4f6f349404f438e2c315 (diff)
loplugin:countusersofdefaultparams in svl..unodevtools
Change-Id: Ie3d2cf29e99b8a51b80246aafa23a92e6c3404b2 Reviewed-on: https://gerrit.libreoffice.org/28017 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/contentenumeration.hxx2
-rw-r--r--svtools/source/contnr/fileview.cxx2
-rw-r--r--svtools/source/contnr/imivctl.hxx16
-rw-r--r--svtools/source/control/roadmap.cxx2
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx2
5 files changed, 12 insertions, 12 deletions
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<Rectangle*>* pOtherRects = nullptr
+ bool bAdd,
+ std::vector<Rectangle*>* 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<Rectangle*>* pOtherRects = nullptr
+ bool bAdd,
+ std::vector<Rectangle*>* 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<HyperLabel*,void>& 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;