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