diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 13:35:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:51:38 +0200 |
commit | 8e0918a04ee6797909264943eba23707b224c34c (patch) | |
tree | 5690f8fbe14092816805ac80d60b7d77a19d0998 /slideshow | |
parent | 39921c1657d0d131ab7ed6c5490052f53bb764cb (diff) |
loplugin:sequenceloop in shell..sot
Change-Id: I40e2a1be0ce7df627d3820192d24821ddd7c3e2f
Reviewed-on: https://gerrit.libreoffice.org/77527
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/shapeimporter.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slide/slideimpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<beans::XPropertySet> 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 |