diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sidebar/PanelTitleBar.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/StyleList.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 2 |
3 files changed, 3 insertions, 3 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; diff --git a/sfx2/source/inc/StyleList.hxx b/sfx2/source/inc/StyleList.hxx index 72efc8981fbc..99889b15534b 100644 --- a/sfx2/source/inc/StyleList.hxx +++ b/sfx2/source/inc/StyleList.hxx @@ -86,7 +86,7 @@ public: // Return whether treeview is visible // It is used in StyleList's UpdateStyles_Hdl // It is used to defaultly set the hierarchical view - bool IsTreeView() { return m_xTreeBox->get_visible(); } + bool IsTreeView() const { return m_xTreeBox->get_visible(); } // Helper function: Access to the current family item // Used in Dialog's updateStyleHandler, Execute_Impl etc... diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 7b1ff1b5d736..83192cbd6356 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -194,7 +194,7 @@ public: // This function return the value of bUpdate in Stylelist // This value is used in StyleList's Notify - bool GetNotifyUpdate() { return bUpdate; } + bool GetNotifyUpdate() const { return bUpdate; } // This function sets the value of bUpdate in Dialog // This function is used in StyleList's Notify to update the value of bUpdate when required void SetNotifyupdate(bool b) { bUpdate = b; } |