summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 09:20:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 10:55:41 +0100
commite21ae87458b0b6e0ad4cc9b41ed02fc8b6a20736 (patch)
tree8101e85cb91ed84dd9cac366f6e0dd930f66ead0 /slideshow/source/engine/animationnodes
parenta1ccac19ab1bc616262ed3a5f7511f258c3e2aa8 (diff)
loplugin:passstuffbyref improved return in xmlhelp,slideshow
Change-Id: I57e235ecec733f1b5dd03f95f4e022769a369ae2 Reviewed-on: https://gerrit.libreoffice.org/47165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/animationnodes')
-rw-r--r--slideshow/source/engine/animationnodes/animationbasenode.cxx2
-rw-r--r--slideshow/source/engine/animationnodes/animationbasenode.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.cxx b/slideshow/source/engine/animationnodes/animationbasenode.cxx
index 678c4a51a9ff..6c7eebed0ad1 100644
--- a/slideshow/source/engine/animationnodes/animationbasenode.cxx
+++ b/slideshow/source/engine/animationnodes/animationbasenode.cxx
@@ -465,7 +465,7 @@ AnimationBaseNode::fillCommonParameters() const
getSlideSize());
}
-AttributableShapeSharedPtr AnimationBaseNode::getShape() const
+AttributableShapeSharedPtr const & AnimationBaseNode::getShape() const
{
// any subsetting at all?
if (mpShapeSubset)
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.hxx b/slideshow/source/engine/animationnodes/animationbasenode.hxx
index d2c03a4ec4d3..84b3d5a82b5e 100644
--- a/slideshow/source/engine/animationnodes/animationbasenode.hxx
+++ b/slideshow/source/engine/animationnodes/animationbasenode.hxx
@@ -56,7 +56,7 @@ protected:
/// Create parameter struct for ActivitiesFactory
ActivitiesFactory::CommonParameters fillCommonParameters() const;
::basegfx::B2DVector const& getSlideSize() const { return maSlideSize; }
- AttributableShapeSharedPtr getShape() const;
+ AttributableShapeSharedPtr const & getShape() const;
private:
virtual bool hasPendingAnimation() const override;