diff options
Diffstat (limited to 'vcl/inc/verticaltabctrl.hxx')
-rw-r--r-- | vcl/inc/verticaltabctrl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/verticaltabctrl.hxx b/vcl/inc/verticaltabctrl.hxx index 1152d702ea60..f3522c2fe697 100644 --- a/vcl/inc/verticaltabctrl.hxx +++ b/vcl/inc/verticaltabctrl.hxx @@ -54,11 +54,11 @@ public: sal_uInt16 GetPageCount() const { return m_xChooser->GetEntryCount(); } - OString GetCurPageId() const { return m_sCurrentPageId; } + const OString& GetCurPageId() const { return m_sCurrentPageId; } void SetCurPageId(const OString& rId); sal_uInt16 GetPagePos(std::string_view rPageId) const; - OString GetPageId(sal_uInt16 nIndex) const; + const OString& GetPageId(sal_uInt16 nIndex) const; VclPtr<vcl::Window> GetPage(std::string_view rPageId); void RemovePage(std::string_view rPageId); |