From 492098417a590521506e41c05d3ab0f09628d39a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 5 Mar 2022 09:16:53 +0200 Subject: GetComponentServiceName can be const Change-Id: Iac61eec0b27660dd2ff45f70c92de5a8cdc2c301 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131044 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/Filter.cxx | 2 +- forms/source/component/Filter.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'forms') 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 -- cgit