summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-19 14:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-19 15:28:33 +0200
commit0f44815ce7b2925189cd603853ce55d8363549dd (patch)
tree87702a1d0f50a8b550ee1b4b9b84ddef60b46ee7 /sfx2/inc
parent9239b11cee9f02cedcb0c240637e58cc8b795086 (diff)
loplugin:constmethods
Change-Id: I786096b989daa6004a6527aafbe825b6f0a22d90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120710 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sidebar/PanelTitleBar.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/inc/sidebar/PanelTitleBar.hxx b/sfx2/inc/sidebar/PanelTitleBar.hxx
index 8ebd1af1800c..308a0c8f999a 100644
--- a/sfx2/inc/sidebar/PanelTitleBar.hxx
+++ b/sfx2/inc/sidebar/PanelTitleBar.hxx
@@ -48,7 +48,7 @@ public:
return *mxExpander;
}
- OUString GetMoreOptionsCommand() { return msMoreOptionsCommand; }
+ const OUString& GetMoreOptionsCommand() const { return msMoreOptionsCommand; }
private:
virtual void HandleToolBoxItemClick() override;