summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-18 09:22:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:48:25 +0000
commit508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch)
treed1c8626818cbf26a699875ae2d82f751a1657e92 /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
parent9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff)
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 816dc14740ce..48c3cf8a32a0 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -143,7 +143,7 @@ public:
*/
void InvalidatePageObjectVisibilities();
- std::shared_ptr<cache::PageCache> GetPreviewCache();
+ std::shared_ptr<cache::PageCache> const & GetPreviewCache();
/** Return the range of currently visible page objects including the
first and last one in that range.
@@ -151,7 +151,7 @@ public:
The returned pair of page object indices is empty when the
second index is lower than the first.
*/
- Pair GetVisiblePageRange();
+ Pair const & GetVisiblePageRange();
/** Add a shape to the page. Typically used from inside
PostModelChange().
@@ -187,7 +187,7 @@ public:
void UpdateOrientation();
- std::shared_ptr<PageObjectPainter> GetPageObjectPainter();
+ std::shared_ptr<PageObjectPainter> const & GetPageObjectPainter();
const std::shared_ptr<LayeredDevice>& GetLayeredDevice() const { return mpLayeredDevice;}
class DrawLock