summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 15:37:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 18:19:41 +0200
commit3b7a86abf28dcc2400a691200b0ea11ee5a9e537 (patch)
tree958c06f3601228d3c57959f2465f533d165dea4b /svx/source/form
parent717dd57000212dda5f4ff5b167d3f3b0f498a98e (diff)
loplugin:constmethod
Change-Id: I56af10be5f1155db4c7f2190495fe036a9b4236a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/fmcontrolbordermanager.cxx2
-rw-r--r--svx/source/form/fmshimp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmcontrolbordermanager.cxx b/svx/source/form/fmcontrolbordermanager.cxx
index 92da9708bd11..5679f3354d96 100644
--- a/svx/source/form/fmcontrolbordermanager.cxx
+++ b/svx/source/form/fmcontrolbordermanager.cxx
@@ -151,7 +151,7 @@ namespace svxform
}
- Color ControlBorderManager::getControlColorByStatus( ControlStatus _nStatus )
+ Color ControlBorderManager::getControlColorByStatus( ControlStatus _nStatus ) const
{
// "invalid" is ranked highest
if ( _nStatus & ControlStatus::Invalid )
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index e5c35ff39cc7..248a2651e23a 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -1728,7 +1728,7 @@ namespace
}
-bool FmXFormShell::IsFormSlotEnabled( sal_Int32 _nSlot, FeatureState* _pCompleteState )
+bool FmXFormShell::IsFormSlotEnabled( sal_Int32 _nSlot, FeatureState* _pCompleteState ) const
{
const svx::ControllerFeatures& rController =
lcl_isNavigationRelevant( _nSlot )