summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animatedsprite.cxx4
-rw-r--r--slideshow/source/engine/shapes/drawshape.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/animatedsprite.cxx b/slideshow/source/engine/animatedsprite.cxx
index 3a3279cee306..3ebd7dc5f688 100644
--- a/slideshow/source/engine/animatedsprite.cxx
+++ b/slideshow/source/engine/animatedsprite.cxx
@@ -156,7 +156,7 @@ namespace slideshow
void AnimatedSprite::movePixel( const ::basegfx::B2DPoint& rNewPos )
{
- maPosPixel.reset( rNewPos );
+ maPosPixel = rNewPos;
mpSprite->movePixel( rNewPos );
}
@@ -168,7 +168,7 @@ namespace slideshow
void AnimatedSprite::clip( const ::basegfx::B2DPolyPolygon& rClip )
{
- maClip.reset( rClip );
+ maClip = rClip;
mpSprite->setClipPixel( rClip );
}
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx
index fa0b99344cc0..0bad87a71055 100644
--- a/slideshow/source/engine/shapes/drawshape.cxx
+++ b/slideshow/source/engine/shapes/drawshape.cxx
@@ -281,7 +281,7 @@ namespace slideshow
// setup cached values to defaults (might fail to
// retrieve true bounds below)
- maCurrentShapeUnitBounds.reset( aDefaultBounds );
+ maCurrentShapeUnitBounds = aDefaultBounds;
// TODO(P2): the subset of the master shape (that from
// which the subsets are subtracted) changes
@@ -345,7 +345,7 @@ namespace slideshow
::basegfx::B2DRange( 0.0, 0.0,
1.0, 1.0 ));
- maCurrentShapeUnitBounds.reset( aTotalBounds );
+ maCurrentShapeUnitBounds = aTotalBounds;
}
}