From f3c1d240bd4f32d014db00a9864c56f77b7cb127 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Jun 2016 12:54:31 +0200 Subject: loplugin:constantparams Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins Reviewed-by: Noel Grandin --- drawinglayer/source/primitive2d/animatedprimitive2d.cxx | 10 ++++------ drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx | 5 ++--- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx index 03712fbee3d0..5533b265426b 100644 --- a/drawinglayer/source/primitive2d/animatedprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/animatedprimitive2d.cxx @@ -94,9 +94,8 @@ namespace drawinglayer { AnimatedBlinkPrimitive2D::AnimatedBlinkPrimitive2D( const animation::AnimationEntry& rAnimationEntry, - const Primitive2DContainer& rChildren, - bool bIsTextAnimation) - : AnimatedSwitchPrimitive2D(rAnimationEntry, rChildren, bIsTextAnimation) + const Primitive2DContainer& rChildren) + : AnimatedSwitchPrimitive2D(rAnimationEntry, rChildren, true/*bIsTextAnimation*/) { } @@ -129,9 +128,8 @@ namespace drawinglayer AnimatedInterpolatePrimitive2D::AnimatedInterpolatePrimitive2D( const std::vector< basegfx::B2DHomMatrix >& rmMatrixStack, const animation::AnimationEntry& rAnimationEntry, - const Primitive2DContainer& rChildren, - bool bIsTextAnimation) - : AnimatedSwitchPrimitive2D(rAnimationEntry, rChildren, bIsTextAnimation), + const Primitive2DContainer& rChildren) + : AnimatedSwitchPrimitive2D(rAnimationEntry, rChildren, true/*bIsTextAnimation*/), maMatrixStack() { // copy matrices to locally pre-decomposed matrix stack diff --git a/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx b/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx index bfe184a7ce89..3c2db2f6e91c 100644 --- a/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx @@ -122,15 +122,14 @@ namespace drawinglayer const basegfx::B2DHomMatrix& rTransform, double fContentWidth, double fContentHeight, - const Primitive2DContainer& rPageContent, - bool bKeepAspectRatio) + const Primitive2DContainer& rPageContent) : BufferedDecompositionPrimitive2D(), mxDrawPage(rxDrawPage), maPageContent(rPageContent), maTransform(rTransform), mfContentWidth(fContentWidth), mfContentHeight(fContentHeight), - mbKeepAspectRatio(bKeepAspectRatio) + mbKeepAspectRatio(true) { } -- cgit