diff options
Diffstat (limited to 'slideshow/source/engine/slide/layer.hxx')
-rw-r--r-- | slideshow/source/engine/slide/layer.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/slide/layer.hxx b/slideshow/source/engine/slide/layer.hxx index 3001bc3b8e6d..28605efc733b 100644 --- a/slideshow/source/engine/slide/layer.hxx +++ b/slideshow/source/engine/slide/layer.hxx @@ -28,7 +28,7 @@ #ifndef INCLUDED_SLIDESHOW_LAYER_HXX #define INCLUDED_SLIDESHOW_LAYER_HXX -#include <basegfx/range/b2dmultirange.hxx> +#include <basegfx/range/b2dpolyrange.hxx> #include <cppcanvas/spritecanvas.hxx> #include "view.hxx" @@ -184,7 +184,7 @@ namespace slideshow @return true, if any non-empty addUpdateRange() calls have been made since the last render()/update() call. */ - bool isUpdatePending() const { return !maUpdateAreas.isEmpty(); } + bool isUpdatePending() const { return maUpdateAreas.count()!=0; } /** Update layer bound rect from shape bounds */ @@ -294,7 +294,7 @@ namespace slideshow typedef ::std::vector< ViewEntry > ViewEntryVector; ViewEntryVector maViewEntries; - basegfx::B2DMultiRange maUpdateAreas; + basegfx::B2DPolyRange maUpdateAreas; basegfx::B2DRange maBounds; basegfx::B2DRange maNewBounds; const basegfx::B2DRange maMaxBounds; // maBounds is clipped against this |