From 8e8a88ec1ad02c153ae3c7653edc81716dc91b7a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 31 May 2016 15:07:58 +0200 Subject: loplugin:unusedfields Change-Id: Ieed5f4d9411478d2568b8e5f4bbe0782bd1d309d Reviewed-on: https://gerrit.libreoffice.org/25724 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/source/engine/slide/layermanager.cxx | 2 -- slideshow/source/engine/slide/layermanager.hxx | 10 ---------- slideshow/source/engine/slide/slideimpl.cxx | 12 ------------ 3 files changed, 24 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/slide/layermanager.cxx b/slideshow/source/engine/slide/layermanager.cxx index b6134fbce616..e3c024398f6f 100644 --- a/slideshow/source/engine/slide/layermanager.cxx +++ b/slideshow/source/engine/slide/layermanager.cxx @@ -68,14 +68,12 @@ namespace slideshow } LayerManager::LayerManager( const UnoViewContainer& rViews, - const ::basegfx::B2DRange& rPageBounds, bool bDisableAnimationZOrder ) : mrViews(rViews), maLayers(), maXShapeHash( 101 ), maAllShapes(), maUpdateShapes(), - maPageBounds( rPageBounds ), mnActiveSprites(0), mbLayerAssociationDirty(false), mbActive(false), diff --git a/slideshow/source/engine/slide/layermanager.hxx b/slideshow/source/engine/slide/layermanager.hxx index 859de3743f50..c40b2ade0498 100644 --- a/slideshow/source/engine/slide/layermanager.hxx +++ b/slideshow/source/engine/slide/layermanager.hxx @@ -65,16 +65,12 @@ namespace slideshow @param rViews Views currently registered - @param rPageBounds - Overall page bounds, in user space coordinates - @param bDisableAnimationZOrder When true, all sprite animations run in the foreground. That is, no extra layers are created, and the slideshow runs potentially faster. */ LayerManager( const UnoViewContainer& rViews, - const ::basegfx::B2DRange& rPageBounds, bool bDisableAnimationZOrder ); /// Forbid copy construction @@ -334,12 +330,6 @@ namespace slideshow */ ShapeUpdateSet maUpdateShapes; - /** Overall slide bounds (in user coordinate - system). shapes that exceed this boundary are clipped, - thus, layers only need to be of this size. - */ - const basegfx::B2DRange maPageBounds; - /// Number of shape sprites currently active on this LayerManager sal_Int32 mnActiveSprites; diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index 0c63e51badb4..8e7397d0296c 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -175,9 +175,6 @@ private: /// Prefetch show, but don't call applyInitialShapeAttributes() bool implPrefetchShow(); - /// Query the rectangle covered by the slide - ::basegfx::B2DRectangle getSlideRect() const; - /// Start GIF and other intrinsic shape animations void endIntrinsicAnimations(); @@ -334,7 +331,6 @@ SlideImpl::SlideImpl( const uno::Reference< drawing::XDrawPage >& xDra mxRootNode( xRootNode ), mpLayerManager( new LayerManager( rViewContainer, - getSlideRect(), bDisableAnimationZOrder) ), mpShapeManager( new ShapeManagerImpl( rEventMultiplexer, @@ -859,14 +855,6 @@ void SlideImpl::deactivatePaintOverlay() mbPaintOverlayActive = false; } -::basegfx::B2DRectangle SlideImpl::getSlideRect() const -{ - const basegfx::B2ISize slideSize( getSlideSizeImpl() ); - return ::basegfx::B2DRectangle(0.0,0.0, - slideSize.getX(), - slideSize.getY()); -} - void SlideImpl::endIntrinsicAnimations() { mpSubsettableShapeManager->notifyIntrinsicAnimationsDisabled(); -- cgit