summaryrefslogtreecommitdiff
path: root/include/svtools/treelist.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 12:53:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 09:26:05 +0200
commit7b83ed313e0e54cb7da4525d13f63937e10867fa (patch)
treee5b950d14cfb8461f5ffb81af1af023b546024f7 /include/svtools/treelist.hxx
parent32878b68574f8fb27a122dd3a356e369391bdfa6 (diff)
loplugin:constparams in svtools
Change-Id: I2620419828864363af55011abe56143bb7d42f48 Reviewed-on: https://gerrit.libreoffice.org/40154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/treelist.hxx')
-rw-r--r--include/svtools/treelist.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index 01ed48aeae7a..483575b01c6b 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -91,7 +91,7 @@ class SVT_DLLPUBLIC SvTreeList final
bool IsEntryVisible( const SvListView*,SvTreeListEntry* pEntry ) const;
SvTreeListEntry* GetEntryAtVisPos( const SvListView*,sal_uLong nVisPos ) const;
- sal_uLong GetVisiblePos( const SvListView*,SvTreeListEntry* pEntry ) const;
+ sal_uLong GetVisiblePos( const SvListView*,SvTreeListEntry const * pEntry ) const;
sal_uLong GetVisibleCount( SvListView* ) const;
sal_uLong GetVisibleChildCount( const SvListView*,SvTreeListEntry* pParent ) const;
@@ -120,7 +120,7 @@ class SVT_DLLPUBLIC SvTreeList final
// rPos is not changed for SortModeNone
SVT_DLLPRIVATE void GetInsertionPos(
- SvTreeListEntry* pEntry,
+ SvTreeListEntry const * pEntry,
SvTreeListEntry* pParent,
sal_uLong& rPos
);
@@ -139,7 +139,7 @@ public:
~SvTreeList();
void InsertView( SvListView* );
- void RemoveView( SvListView* );
+ void RemoveView( SvListView const * );
void Broadcast(
SvListAction nActionId,
@@ -299,10 +299,10 @@ public:
SvTreeListEntry* GetEntryAtVisPos( sal_uLong nVisPos ) const
{ return pModel->GetEntryAtVisPos(this,nVisPos); }
- sal_uLong GetAbsPos( SvTreeListEntry* pEntry ) const
+ sal_uLong GetAbsPos( SvTreeListEntry const * pEntry ) const
{ return pModel->GetAbsPos(pEntry); }
- sal_uLong GetVisiblePos( SvTreeListEntry* pEntry ) const
+ sal_uLong GetVisiblePos( SvTreeListEntry const * pEntry ) const
{ return pModel->GetVisiblePos(this,pEntry); }
sal_uLong GetVisibleChildCount(SvTreeListEntry* pParent ) const