summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slide/layer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/slide/layer.cxx b/slideshow/source/engine/slide/layer.cxx
index 8b2bc42437a7..cc2f3e6be3ce 100644
--- a/slideshow/source/engine/slide/layer.cxx
+++ b/slideshow/source/engine/slide/layer.cxx
@@ -226,7 +226,7 @@ namespace slideshow
{
for( const auto& rViewEntry : maViewEntries )
{
- ViewLayerSharedPtr pViewLayer = rViewEntry.getViewLayer();
+ const ViewLayerSharedPtr& pViewLayer = rViewEntry.getViewLayer();
// set clip to all view layers and
pViewLayer->setClip( aClip );