From 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Jul 2017 14:11:32 +0200 Subject: loplugin:constparams in svx and fix a bug in the plugin itself when calling operator's like the one on std::function<> Change-Id: I1617607107eeff06785c1841f69e13ad2926218e Reviewed-on: https://gerrit.libreoffice.org/40446 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/form/navigatortreemodel.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svx/source/form/navigatortreemodel.cxx') diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index df2fb0f99626..3708f9322e34 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -438,7 +438,7 @@ namespace svxform } - void NavigatorTreeModel::RemoveForm(FmFormData* pFormData) + void NavigatorTreeModel::RemoveForm(FmFormData const * pFormData) { // get form and parent @@ -470,7 +470,7 @@ namespace svxform } - void NavigatorTreeModel::RemoveFormComponent(FmControlData* pControlData) + void NavigatorTreeModel::RemoveFormComponent(FmControlData const * pControlData) { // get control and parent @@ -485,7 +485,7 @@ namespace svxform } - void NavigatorTreeModel::ClearBranch( FmFormData* pParentData ) + void NavigatorTreeModel::ClearBranch( FmFormData const * pParentData ) { // delete all entries of this branch @@ -645,7 +645,7 @@ namespace svxform } - FmEntryData* NavigatorTreeModel::FindData( const OUString& rText, FmFormData* pParentData, bool bRecurs ) + FmEntryData* NavigatorTreeModel::FindData( const OUString& rText, FmFormData const * pParentData, bool bRecurs ) { FmEntryDataList* pDataList; if( !pParentData ) @@ -880,7 +880,7 @@ namespace svxform } - Reference< XIndexContainer > NavigatorTreeModel::GetFormComponents( FmFormData* pFormData ) + Reference< XIndexContainer > NavigatorTreeModel::GetFormComponents( FmFormData const * pFormData ) { // get components from form -- cgit