summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-30 15:28:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-30 19:00:57 +0200
commit7183b3ba237dc7718501acb512d5ae1c5d0d5f6b (patch)
treeea8b5535f6dbed45f54fa27c8dd492a327644626 /comphelper
parentb1f085d66c1d354485edec527fda6abf539af325 (diff)
loplugin:constmethod handle more cases
remove some of the naming limitations, and handle pointer parameters better. I only let the plugin run up till vcl/ Change-Id: Ice916e0157031ab531c47f10778f406b07966251 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122892 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/propagg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 576621246207..a93c82c98fae 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -264,7 +264,7 @@ namespace internal
/** checks whether the forwarder is responsible for the given property
*/
- bool isResponsibleFor( sal_Int32 _nHandle );
+ bool isResponsibleFor( sal_Int32 _nHandle ) const;
/// actually forwards a property value to the aggregate
///
@@ -288,7 +288,7 @@ namespace internal
}
- bool PropertyForwarder::isResponsibleFor( sal_Int32 _nHandle )
+ bool PropertyForwarder::isResponsibleFor( sal_Int32 _nHandle ) const
{
return m_aProperties.find( _nHandle ) != m_aProperties.end();
}