summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/shapeimporter.cxx2
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx2
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