diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 14:11:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 08:03:26 +0200 |
commit | 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad (patch) | |
tree | 070a1a2f11d553511c24423290829713c1f2fba6 /svx/source/form/navigatortreemodel.cxx | |
parent | LibreOffice.natvis: fix BigPrtArray visualiser. (diff) | |
download | core-8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad.tar.gz core-8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad.zip |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form/navigatortreemodel.cxx')
-rw-r--r-- | svx/source/form/navigatortreemodel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 |