diff options
Diffstat (limited to 'slideshow/source/engine/shapes/viewshape.hxx')
-rw-r--r-- | slideshow/source/engine/shapes/viewshape.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/viewshape.hxx b/slideshow/source/engine/shapes/viewshape.hxx index ccefbdabe32f..88b3f7a3b0cd 100644 --- a/slideshow/source/engine/shapes/viewshape.hxx +++ b/slideshow/source/engine/shapes/viewshape.hxx @@ -26,8 +26,6 @@ #include <basegfx/range/b2drectangle.hxx> #include <basegfx/polygon/b2dpolygon.hxx> -#include <boost/noncopyable.hpp> - #include "tools.hxx" #include "shapeattributelayer.hxx" #include "animatedsprite.hxx" @@ -48,7 +46,7 @@ namespace slideshow The class is able to render the associated XShape on View implementations. */ - class ViewShape : private boost::noncopyable + class ViewShape { public: /** Create a ViewShape for the given View @@ -58,6 +56,11 @@ namespace slideshow */ explicit ViewShape( const ViewLayerSharedPtr& rViewLayer ); + ///Forbid copy construction + ViewShape(const ViewShape&) = delete; + /// Forbid copy assignment + ViewShape& operator=(const ViewShape&) = delete; + /** Query the associated view layer of this shape */ ViewLayerSharedPtr getViewLayer() const; |