summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 09:36:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 10:29:57 +0200
commit101a9b4a3fcf1fd0a7163dac3a5dcd69431f4fee (patch)
tree29039a491e9ca058bd3ea9114bf8889ce8089ebc /include/vcl
parent55220e7bc6576a7575c675ba425e757a3aefa243 (diff)
loplugin:constantparam
Change-Id: I9cdd15185cfa8347a08402da956eab7cbdd63de6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91609 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/treelist.hxx4
-rw-r--r--include/vcl/treelistbox.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx
index a6cdbe0aa60e..85aba58f8818 100644
--- a/include/vcl/treelist.hxx
+++ b/include/vcl/treelist.hxx
@@ -236,8 +236,8 @@ public:
SvTreeListEntry* FirstVisible() const
{ return pModel->FirstVisible(); }
- SvTreeListEntry* NextVisible( SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const
- { return pModel->NextVisible(this,pEntry,pDepth); }
+ SvTreeListEntry* NextVisible( SvTreeListEntry* pEntry ) const
+ { return pModel->NextVisible(this,pEntry); }
SvTreeListEntry* PrevVisible( SvTreeListEntry* pEntry ) const
{ return pModel->PrevVisible(this,pEntry); }
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index af2c5c648735..179f27fe4cb6 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -674,7 +674,7 @@ public:
virtual bool Collapse( SvTreeListEntry* pParent );
virtual bool Select( SvTreeListEntry* pEntry, bool bSelect=true );
sal_uLong SelectChildren( SvTreeListEntry* pParent, bool bSelect );
- void SelectAll( bool bSelect, bool bPaint = true );
+ void SelectAll( bool bSelect );
void SetCurEntry( SvTreeListEntry* _pEntry );
SvTreeListEntry* GetCurEntry() const;