summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/animatedsprite.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/animatedsprite.hxx')
-rw-r--r--slideshow/source/inc/animatedsprite.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx
index 8be16d0d2ea2..5c0cb1ea243e 100644
--- a/slideshow/source/inc/animatedsprite.hxx
+++ b/slideshow/source/inc/animatedsprite.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/rendering/XCanvas.hpp>
#include <com/sun/star/rendering/XCustomSprite.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
@@ -29,6 +28,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include "canvas.hxx"
#include "viewlayer.hxx"
#include <boost/optional.hpp>
@@ -106,7 +106,7 @@ namespace slideshow
canvas is already correctly setup, matching the
associated destination canvas.
*/
- css::uno::Reference< css::rendering::XCanvas > getContentCanvas() const;
+ const Canvas& getContentCanvas() const;
/** Move the sprite in device pixel space.