diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-01 12:54:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-03 09:08:42 +0000 |
commit | f3c1d240bd4f32d014db00a9864c56f77b7cb127 (patch) | |
tree | ff952e1002ed98d1a0d537193f7bd15aac64b1c9 /drawinglayer | |
parent | 643b70006fd5f6762561696421808f20d4e1e86f (diff) |
loplugin:constantparams
Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361
Reviewed-on: https://gerrit.libreoffice.org/25769
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/animatedprimitive2d.cxx | 10 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/pagepreviewprimitive2d.cxx | 5 |
2 files changed, 6 insertions, 9 deletions
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) { } |