From 5d7c894678f3ba8999017e4ed66ba81a5314b15b Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Sun, 27 Oct 2013 17:16:45 +0100 Subject: Rework slideshow to use XCanvas directly. Kill cppcanvas references. This builds now, but is not working yet ... Change-Id: I9995fe8cdbb0b8ca1be8d73a678feeb2c3708c9e --- slideshow/source/inc/animatedsprite.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'slideshow/source/inc/animatedsprite.hxx') diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx index 61e21197bd56..8be16d0d2ea2 100644 --- a/slideshow/source/inc/animatedsprite.hxx +++ b/slideshow/source/inc/animatedsprite.hxx @@ -20,7 +20,9 @@ #ifndef INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX #define INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX -#include +#include +#include +#include #include #include @@ -104,7 +106,7 @@ namespace slideshow canvas is already correctly setup, matching the associated destination canvas. */ - ::cppcanvas::CanvasSharedPtr getContentCanvas() const; + css::uno::Reference< css::rendering::XCanvas > getContentCanvas() const; /** Move the sprite in device pixel space. @@ -144,7 +146,7 @@ namespace slideshow private: ViewLayerSharedPtr mpViewLayer; - ::cppcanvas::CustomSpriteSharedPtr mpSprite; + css::uno::Reference< css::rendering::XCustomSprite > mpSprite; ::basegfx::B2DSize maEffectiveSpriteSizePixel; ::basegfx::B2DSize maContentPixelOffset; -- cgit