diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 11:09:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 13:31:28 +0200 |
commit | 49bc18c0472b4c7758bfcbdf55383de9e9ef3027 (patch) | |
tree | 66eed1e82918cc122ad5e1e4a6cfa604c6633bb5 /sot/source/sdstor/stgavl.cxx | |
parent | 89805d2846298cfa7345aef2673666649a42773b (diff) |
loplugin:constparams in i18nutil,sot
Change-Id: I8e91b11baa855b1049130746b34f53158010948b
Reviewed-on: https://gerrit.libreoffice.org/40050
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/source/sdstor/stgavl.cxx')
-rw-r--r-- | sot/source/sdstor/stgavl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx index ede2b9a26fad..3adb7b0dc5ed 100644 --- a/sot/source/sdstor/stgavl.cxx +++ b/sot/source/sdstor/stgavl.cxx @@ -33,7 +33,7 @@ StgAvlNode::~StgAvlNode() delete m_pRight; } -StgAvlNode* StgAvlNode::Find( StgAvlNode* pFind ) +StgAvlNode* StgAvlNode::Find( StgAvlNode const * pFind ) { if ( pFind ) { @@ -53,7 +53,7 @@ StgAvlNode* StgAvlNode::Find( StgAvlNode* pFind ) // +/0/- for >/=/< previous short StgAvlNode::Locate - ( StgAvlNode* pFind, + ( StgAvlNode const * pFind, StgAvlNode** pPivot, StgAvlNode **pParent, StgAvlNode** pPrev ) { short nRes = 0; @@ -89,7 +89,7 @@ short StgAvlNode::Locate // adjust balance factors in AVL tree from pivot down. // Returns delta balance. -short StgAvlNode::Adjust( StgAvlNode** pHeavy, StgAvlNode* pNew ) +short StgAvlNode::Adjust( StgAvlNode** pHeavy, StgAvlNode const * pNew ) { StgAvlNode* pCur = this; short nDelta; |