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 --- svx/source/sdr/contact/viewobjectcontactofpageobj.cxx | 2 +- svx/source/sdr/primitive2d/sdrdecompositiontools.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index c6c17577576d..15ebcfb63d4a 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -270,7 +270,7 @@ drawinglayer::primitive2d::Primitive2DContainer ViewObjectContactOfPageObj::crea { const uno::Reference< drawing::XDrawPage > xDrawPage(GetXDrawPageForSdrPage(const_cast< SdrPage*>(pPage))); const drawinglayer::primitive2d::Primitive2DReference xPagePreview(new drawinglayer::primitive2d::PagePreviewPrimitive2D( - xDrawPage, aPageObjectTransform, fPageWidth, fPageHeight, xPageContent, true)); + xDrawPage, aPageObjectTransform, fPageWidth, fPageHeight, xPageContent)); xRetval = drawinglayer::primitive2d::Primitive2DContainer { xPagePreview }; } } diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx index bc27dbcdfe23..39cef1e421bc 100644 --- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx +++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx @@ -353,7 +353,7 @@ namespace drawinglayer const Primitive2DContainer aContent { xRefA }; // create and add animated switch primitive - return Primitive2DReference(new AnimatedBlinkPrimitive2D(aAnimationList, aContent, true)); + return Primitive2DReference(new AnimatedBlinkPrimitive2D(aAnimationList, aContent)); } else { @@ -445,7 +445,7 @@ namespace drawinglayer std::vector< basegfx::B2DHomMatrix > aMatrixStack; aMatrixStack.push_back(aLeft); aMatrixStack.push_back(aRight); - const Primitive2DReference xRefA(new AnimatedInterpolatePrimitive2D(aMatrixStack, aAnimationList, aAnimSequence, true)); + const Primitive2DReference xRefA(new AnimatedInterpolatePrimitive2D(aMatrixStack, aAnimationList, aAnimSequence)); const Primitive2DContainer aContent { xRefA }; // scrolling needs an encapsulating clipping primitive -- cgit