summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-03-05 09:16:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-05 15:19:15 +0100
commit492098417a590521506e41c05d3ab0f09628d39a (patch)
tree683c9b58fc58c220f056c01c4781b18588553cc8 /forms
parenteaeb8b56a4e450917001919be0848bad115293a1 (diff)
GetComponentServiceName can be const
Change-Id: Iac61eec0b27660dd2ff45f70c92de5a8cdc2c301 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131044 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Filter.cxx2
-rw-r--r--forms/source/component/Filter.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index cc57cecf027a..46666713f6b4 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -135,7 +135,7 @@ namespace frm
}
- OUString OFilterControl::GetComponentServiceName()
+ OUString OFilterControl::GetComponentServiceName() const
{
OUString aServiceName;
switch (m_nControlClass)
diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx
index 8561d2f5d5af..8815f5f11a02 100644
--- a/forms/source/component/Filter.hxx
+++ b/forms/source/component/Filter.hxx
@@ -80,7 +80,7 @@ namespace frm
DECLARE_UNO3_AGG_DEFAULTS(OFilterControl,OWeakAggObject)
css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- virtual OUString GetComponentServiceName() override;
+ virtual OUString GetComponentServiceName() const override;
virtual void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit > & rxToolkit, const css::uno::Reference< css::awt::XWindowPeer > & rParentPeer ) override;
// css::lang::XComponent