diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-05 14:20:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-05 18:50:51 +0200 |
commit | e859bf8c4da78698b820d13af1a2fdee3602f5b4 (patch) | |
tree | b2ead4e992f283c2e1dfcdabfa99f013f1506918 /accessibility | |
parent | ae1d21ae69b0522cbbe67abeb2f5c5ba7ca2c33b (diff) |
loplugin:constmethod
Change-Id: I7913fd8144d521b8293ac43036d0fad82e457cd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115145
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/standard/vclxaccessibletoolboxitem.hxx | 2 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessibletoolboxitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx index cbfb8162f677..a8de1b43231c 100644 --- a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx +++ b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx @@ -51,7 +51,7 @@ private: bool m_bIndeterminate; css::uno::Reference< css::accessibility::XAccessible > m_xChild; - OUString GetText(); + OUString GetText() const; public: sal_Int32 getIndexInParent() const { return m_nIndexInParent; } diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx index 211547a7e206..d290430975ba 100644 --- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx +++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx @@ -114,7 +114,7 @@ VCLXAccessibleToolBoxItem::~VCLXAccessibleToolBoxItem() { } -OUString VCLXAccessibleToolBoxItem::GetText() +OUString VCLXAccessibleToolBoxItem::GetText() const { OUString sRet; // no text for separators and spaces |