diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-03-05 09:16:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-05 15:19:15 +0100 |
commit | 492098417a590521506e41c05d3ab0f09628d39a (patch) | |
tree | 683c9b58fc58c220f056c01c4781b18588553cc8 /svx | |
parent | eaeb8b56a4e450917001919be0848bad115293a1 (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 'svx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/formcontroller.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index bc008f01f7ce..fb6067663a62 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -399,7 +399,7 @@ void SAL_CALL FmXGridControl::dispose() } -OUString FmXGridControl::GetComponentServiceName() +OUString FmXGridControl::GetComponentServiceName() const { return "DBGrid"; } diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 71be6e43fe21..fd66a5f0f9bb 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -454,7 +454,7 @@ public: { } - virtual OUString GetComponentServiceName() override {return "Edit";} + virtual OUString GetComponentServiceName() const override {return "Edit";} virtual void SAL_CALL createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) override; protected: |