summaryrefslogtreecommitdiffstats
path: root/slideshow/source/engine/shapes/viewappletshape.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/viewappletshape.hxx')
-rw-r--r--slideshow/source/engine/shapes/viewappletshape.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/viewappletshape.hxx b/slideshow/source/engine/shapes/viewappletshape.hxx
index 5a3ccc0e29bb..dfef6abe72ae 100644
--- a/slideshow/source/engine/shapes/viewappletshape.hxx
+++ b/slideshow/source/engine/shapes/viewappletshape.hxx
@@ -23,7 +23,6 @@
#include <basegfx/range/b2drectangle.hxx>
#include <com/sun/star/awt/Point.hpp>
-#include <boost/noncopyable.hpp>
#include <memory>
#include "viewlayer.hxx"
@@ -50,7 +49,7 @@ namespace slideshow
The class is able to render the associated applet on View
implementations.
*/
- class ViewAppletShape : private boost::noncopyable
+ class ViewAppletShape
{
public:
/** Create a ViewAppletShape for the given View
@@ -83,6 +82,11 @@ namespace slideshow
*/
virtual ~ViewAppletShape();
+ /// Forbid copy construction
+ ViewAppletShape(const ViewAppletShape&) = delete;
+ /// Forbid copy assignment
+ ViewAppletShape& operator=(const ViewAppletShape&) = delete;
+
/** Query the associated view layer of this shape
*/
ViewLayerSharedPtr getViewLayer() const;