diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-04 16:07:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-05 08:27:12 +0200 |
commit | 51fa45c8b8ee2ff37beef9639dc1ce5ed1e38e8f (patch) | |
tree | 8bcf0c069a72a6120e870170c43810b968c834b5 /cui/source/inc/srchxtra.hxx | |
parent | f8f606297d53eb216ff0c3c269de40058513e0a5 (diff) |
loplugin:constmethod in cui
Change-Id: I06ffacbb02f3e9088e9c1a51e0e3e0d65d356f62
Reviewed-on: https://gerrit.libreoffice.org/78602
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/srchxtra.hxx')
-rw-r--r-- | cui/source/inc/srchxtra.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/srchxtra.hxx b/cui/source/inc/srchxtra.hxx index 38ee2955aa0d..5513ae236a46 100644 --- a/cui/source/inc/srchxtra.hxx +++ b/cui/source/inc/srchxtra.hxx @@ -73,10 +73,10 @@ public: sal_uInt16 nLonger); virtual ~SvxSearchSimilarityDialog() override; - sal_uInt16 GetOther() { return static_cast<sal_uInt16>(m_xOtherFld->get_value()); } - sal_uInt16 GetShorter() { return static_cast<sal_uInt16>(m_xShorterFld->get_value()); } - sal_uInt16 GetLonger() { return static_cast<sal_uInt16>(m_xLongerFld->get_value()); } - bool IsRelaxed() { return m_xRelaxBox->get_active(); } + sal_uInt16 GetOther() const { return static_cast<sal_uInt16>(m_xOtherFld->get_value()); } + sal_uInt16 GetShorter() const { return static_cast<sal_uInt16>(m_xShorterFld->get_value()); } + sal_uInt16 GetLonger() const { return static_cast<sal_uInt16>(m_xLongerFld->get_value()); } + bool IsRelaxed() const { return m_xRelaxBox->get_active(); } }; #endif |