summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 10:41:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 11:37:35 +0200
commit8303e7ed668fbcbd0ba75bd9dd259f03073ffd46 (patch)
treebfcbb0f58c0fd8cbd5c03d93fc5b1d4ab3ef817b /slideshow
parenta64692944a0a22feeef4a943d45137b25494cf64 (diff)
loplugin:unusedfields improvements
tighten up the only calling write-only methods part of the analysis Change-Id: I5bc6fdf0ce51940653317e8a48c5241705c90d4c Reviewed-on: https://gerrit.libreoffice.org/74022 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animatedsprite.cxx2
-rw-r--r--slideshow/source/inc/animatedsprite.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/slideshow/source/engine/animatedsprite.cxx b/slideshow/source/engine/animatedsprite.cxx
index 481a625afe7a..3a3279cee306 100644
--- a/slideshow/source/engine/animatedsprite.cxx
+++ b/slideshow/source/engine/animatedsprite.cxx
@@ -48,7 +48,6 @@ namespace slideshow
mnAlpha(0.0),
maPosPixel(),
maClip(),
- maTransform(),
mbSpriteVisible( false )
{
ENSURE_OR_THROW( mpViewLayer, "AnimatedSprite::AnimatedSprite(): Invalid view layer" );
@@ -181,7 +180,6 @@ namespace slideshow
void AnimatedSprite::transform( const ::basegfx::B2DHomMatrix& rTransform )
{
- maTransform.reset( rTransform );
mpSprite->transform( rTransform );
}
diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx
index 7f4b16401cfc..3c215edc0d27 100644
--- a/slideshow/source/inc/animatedsprite.hxx
+++ b/slideshow/source/inc/animatedsprite.hxx
@@ -150,7 +150,6 @@ namespace slideshow
double mnAlpha;
::boost::optional< ::basegfx::B2DPoint > maPosPixel;
::boost::optional< ::basegfx::B2DPolyPolygon > maClip;
- ::boost::optional< ::basegfx::B2DHomMatrix > maTransform;
bool mbSpriteVisible;
};