From 8e0918a04ee6797909264943eba23707b224c34c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Aug 2019 13:35:20 +0200 Subject: loplugin:sequenceloop in shell..sot Change-Id: I40e2a1be0ce7df627d3820192d24821ddd7c3e2f Reviewed-on: https://gerrit.libreoffice.org/77527 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/source/engine/shapes/shapeimporter.cxx | 2 +- slideshow/source/engine/slide/slideimpl.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx index 2b2139ab63b8..65b0414d2645 100644 --- a/slideshow/source/engine/shapes/shapeimporter.cxx +++ b/slideshow/source/engine/shapes/shapeimporter.cxx @@ -397,7 +397,7 @@ void ShapeImporter::importPolygons(uno::Reference const& xP getPropertyValue( nLineColor, xPropSet, "LineColor" ); getPropertyValue( fLineWidth, xPropSet, "LineWidth" ); - drawing::PointSequence* pOuterSequence = aRetval.getArray(); + const drawing::PointSequence* pOuterSequence = aRetval.getArray(); ::basegfx::B2DPolygon aPoly; basegfx::B2DPoint aPoint; diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index 3786a00786c2..911f9866074d 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -841,7 +841,7 @@ void SlideImpl::applyShapeAttributes( const css::uno::Reference< css::animations::XAnimationNode >& xRootAnimationNode, bool bInitial) const { - uno::Sequence< animations::TargetProperties > aProps( + const uno::Sequence< animations::TargetProperties > aProps( TargetPropertiesCreator::createTargetProperties( xRootAnimationNode, bInitial ) ); // apply extracted values to our shapes -- cgit