summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx2
-rw-r--r--sd/source/ui/inc/zoomlist.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 17587ac5be1e..494f96cf5588 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -362,7 +362,7 @@ public:
*/
virtual bool RelocateToParentWindow (vcl::Window* pParentWindow) override;
- OUString GetSidebarContextName() const;
+ OUString const & GetSidebarContextName() const;
bool IsInSwitchPage() { return mbIsInSwitchPage; }
diff --git a/sd/source/ui/inc/zoomlist.hxx b/sd/source/ui/inc/zoomlist.hxx
index 115e0d36aa92..fa16473ff802 100644
--- a/sd/source/ui/inc/zoomlist.hxx
+++ b/sd/source/ui/inc/zoomlist.hxx
@@ -35,8 +35,8 @@ public:
ZoomList(ViewShell* pViewShell);
void InsertZoomRect(const ::tools::Rectangle& rRect);
- ::tools::Rectangle GetNextZoomRect();
- ::tools::Rectangle GetPreviousZoomRect();
+ ::tools::Rectangle const & GetNextZoomRect();
+ ::tools::Rectangle const & GetPreviousZoomRect();
bool IsNextPossible() const;
bool IsPreviousPossible() const;