diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-31 15:07:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-02 06:32:07 +0000 |
commit | 8e8a88ec1ad02c153ae3c7653edc81716dc91b7a (patch) | |
tree | 6762b644bdfbadeaacea13c05abb23b8c95e1efe /slideshow | |
parent | Passing its const ref is sufficient (diff) | |
download | core-8e8a88ec1ad02c153ae3c7653edc81716dc91b7a.tar.gz core-8e8a88ec1ad02c153ae3c7653edc81716dc91b7a.zip |
loplugin:unusedfields
Change-Id: Ieed5f4d9411478d2568b8e5f4bbe0782bd1d309d
Reviewed-on: https://gerrit.libreoffice.org/25724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/slide/layermanager.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slide/layermanager.hxx | 10 | ||||
-rw-r--r-- | slideshow/source/engine/slide/slideimpl.cxx | 12 |
3 files changed, 0 insertions, 24 deletions
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(); |