diff options
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/sidebar/TabBar.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/tabdlg.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx index 08550dca70a4..e9ce313c6a68 100644 --- a/include/sfx2/sidebar/TabBar.hxx +++ b/include/sfx2/sidebar/TabBar.hxx @@ -85,7 +85,7 @@ public: const ResourceManager::DeckContextDescriptorContainer& rDecks); void HighlightDeck (const OUString& rsDeckId); void RemoveDeckHighlight (); - const OUString GetDeckIdForIndex (const sal_Int32 nIndex) const; + OUString const & GetDeckIdForIndex (const sal_Int32 nIndex) const; void ToggleHideFlag (const sal_Int32 nIndex); void RestoreHideFlags(); diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 533496966d12..06f99318c3c0 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -166,7 +166,7 @@ public: virtual OString GetScreenshotId() const override; - OUString GetPageText( sal_uInt16 nPageId ) const + OUString const & GetPageText( sal_uInt16 nPageId ) const { return m_pTabCtrl->GetPageText(nPageId); } |