diff options
Diffstat (limited to 'slideshow/source/inc/tools.hxx')
-rw-r--r-- | slideshow/source/inc/tools.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx index c2053e056b5f..7caf7423afdd 100644 --- a/slideshow/source/inc/tools.hxx +++ b/slideshow/source/inc/tools.hxx @@ -27,6 +27,7 @@ #include <basegfx/color/bcolor.hxx> +#include "canvas.hxx" #include "shapeattributelayer.hxx" #include "shape.hxx" #include "rgbcolor.hxx" @@ -274,9 +275,9 @@ namespace slideshow /** Fill a plain rectangle on the given canvas with the given color */ - void fillRect( const css::uno::Reference< css::rendering::XCanvas >& rCanvas, - const basegfx::B2DRange& rRect, - const basegfx::BColor& rFillColor ); + void fillRect( const Canvas& rCanvas, + const basegfx::B2DRange& rRect, + const basegfx::BColor& rFillColor ); /// Gets a random ordinal [0,n) inline ::std::size_t getRandomOrdinal( const ::std::size_t n ) |