diff options
Diffstat (limited to 'slideshow/source/engine/shapes/viewmediashape.hxx')
-rw-r--r-- | slideshow/source/engine/shapes/viewmediashape.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.hxx b/slideshow/source/engine/shapes/viewmediashape.hxx index 1b60a77d3d0e..e935f0ab559b 100644 --- a/slideshow/source/engine/shapes/viewmediashape.hxx +++ b/slideshow/source/engine/shapes/viewmediashape.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/awt/Point.hpp> #include <memory> -#include <boost/noncopyable.hpp> #include <vcl/vclptr.hxx> #include "viewlayer.hxx" @@ -56,7 +55,7 @@ namespace slideshow The class is able to render the associated media shape on View implementations. */ - class ViewMediaShape : private boost::noncopyable + class ViewMediaShape { public: /** Create a ViewMediaShape for the given View @@ -72,6 +71,11 @@ namespace slideshow */ virtual ~ViewMediaShape(); + /// Forbid copy construction + ViewMediaShape(const ViewMediaShape&) = delete; + /// Forbid copy assignment + ViewMediaShape& operator=(const ViewMediaShape&) = delete; + /** Query the associated view layer of this shape */ ViewLayerSharedPtr getViewLayer() const; |