summaryrefslogtreecommitdiff
path: root/cui/source/options/treeopt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 15:13:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 19:42:10 +0200
commit4a4412f70cd07baa8e67dd92dc1c403455bfe3a4 (patch)
tree89bf5afd5528229467b05548cbfd1cc59f5f25cf /cui/source/options/treeopt.cxx
parentee9e027de092b91e97e4d280f26bd8c73bae602a (diff)
loplugin:constparams in cui
Change-Id: I5f3e4ba8d953bbce22c3c359bb1c3ae2ac47eb1d Reviewed-on: https://gerrit.libreoffice.org/40593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r--cui/source/options/treeopt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index f3f75e8c60cb..29050221f155 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1695,7 +1695,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
}
}
-bool isNodeActive( OptionsNode* pNode, Module* pModule )
+bool isNodeActive( OptionsNode const * pNode, Module* pModule )
{
if ( pNode )
{
@@ -1992,7 +1992,7 @@ static sal_uInt16 lcl_getGroupId( const OUString& rGroupName, const SvTreeListBo
}
static void lcl_insertLeaf(
- OfaTreeOptionsDialog* pDlg, OptionsNode* pNode, OptionsLeaf* pLeaf, const SvTreeListBox& rTreeLB )
+ OfaTreeOptionsDialog* pDlg, OptionsNode const * pNode, OptionsLeaf const * pLeaf, const SvTreeListBox& rTreeLB )
{
sal_uInt16 nGrpId = lcl_getGroupId( pNode->m_sLabel, rTreeLB );
if ( USHRT_MAX == nGrpId )