diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-04 15:37:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-04 18:19:41 +0200 |
commit | 3b7a86abf28dcc2400a691200b0ea11ee5a9e537 (patch) | |
tree | 958c06f3601228d3c57959f2465f533d165dea4b /svx/source/sidebar/text | |
parent | 717dd57000212dda5f4ff5b167d3f3b0f498a98e (diff) |
loplugin:constmethod
Change-Id: I56af10be5f1155db4c7f2190495fe036a9b4236a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123054
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sidebar/text')
-rw-r--r-- | svx/source/sidebar/text/TextUnderlineControl.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/text/TextUnderlineControl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/text/TextUnderlineControl.cxx b/svx/source/sidebar/text/TextUnderlineControl.cxx index 4ce94e0cfb29..380389509865 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.cxx +++ b/svx/source/sidebar/text/TextUnderlineControl.cxx @@ -69,7 +69,7 @@ TextUnderlineControl::~TextUnderlineControl() { } -FontLineStyle TextUnderlineControl::getLineStyle(const weld::Button& rButton) +FontLineStyle TextUnderlineControl::getLineStyle(const weld::Button& rButton) const { if (&rButton == mxSingle.get()) return LINESTYLE_SINGLE; diff --git a/svx/source/sidebar/text/TextUnderlineControl.hxx b/svx/source/sidebar/text/TextUnderlineControl.hxx index 631b5c874d3c..cc1a19c67915 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.hxx +++ b/svx/source/sidebar/text/TextUnderlineControl.hxx @@ -49,7 +49,7 @@ private: rtl::Reference<TextUnderlinePopup> mxControl; - FontLineStyle getLineStyle(const weld::Button& rButton); + FontLineStyle getLineStyle(const weld::Button& rButton) const; DECL_LINK(PBClickHdl, weld::Button&, void); }; |