summaryrefslogtreecommitdiff
path: root/include/svtools/treelist.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 08:30:03 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 08:30:28 +0200
commit40971354138e14a2aacfa4605ba0c096e000d578 (patch)
treeb5812c6265a3900bd2cf47304ab1e470b3b953c5 /include/svtools/treelist.hxx
parent5e913234da65484778d53179ee2005aec01d0f0e (diff)
loplugin:unuseddefaultparam in svtools
Change-Id: I4e9712bea0cc8cf2d48759738806a584dda8268e
Diffstat (limited to 'include/svtools/treelist.hxx')
-rw-r--r--include/svtools/treelist.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index b7b42e3dc983..fb21e9b209ba 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -272,11 +272,11 @@ public:
SvTreeListEntry* NextVisible( SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const
{ return pModel->NextVisible(this,pEntry,pDepth); }
- SvTreeListEntry* PrevVisible( SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const
- { return pModel->PrevVisible(this,pEntry,pDepth); }
+ SvTreeListEntry* PrevVisible( SvTreeListEntry* pEntry ) const
+ { return pModel->PrevVisible(this,pEntry); }
- SvTreeListEntry* LastVisible( sal_uInt16* pDepth=nullptr ) const
- { return pModel->LastVisible(this,pDepth); }
+ SvTreeListEntry* LastVisible() const
+ { return pModel->LastVisible(this); }
SvTreeListEntry* NextVisible( SvTreeListEntry* pEntry, sal_uInt16& rDelta ) const
{ return pModel->NextVisible(this,pEntry,rDelta); }