summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/viewbackgroundshape.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/viewbackgroundshape.hxx')
-rw-r--r--slideshow/source/engine/shapes/viewbackgroundshape.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/viewbackgroundshape.hxx b/slideshow/source/engine/shapes/viewbackgroundshape.hxx
index e2a57e201ee1..1985b82e1d99 100644
--- a/slideshow/source/engine/shapes/viewbackgroundshape.hxx
+++ b/slideshow/source/engine/shapes/viewbackgroundshape.hxx
@@ -28,7 +28,6 @@
#include <cppcanvas/spritecanvas.hxx>
#include <memory>
-#include <boost/noncopyable.hpp>
#include "gdimtftools.hxx"
#include "viewlayer.hxx"
@@ -44,7 +43,7 @@ namespace slideshow
The class is able to render the associated background on
View implementations.
*/
- class ViewBackgroundShape : private boost::noncopyable
+ class ViewBackgroundShape
{
public:
/** Create a ViewBackgroundShape for the given View
@@ -58,6 +57,10 @@ namespace slideshow
*/
ViewBackgroundShape( const ViewLayerSharedPtr& rViewLayer,
const ::basegfx::B2DRectangle& rShapeBounds );
+ /// Forbid copy construction
+ ViewBackgroundShape(const ViewBackgroundShape&) = delete;
+ /// Forbid copy assignment
+ ViewBackgroundShape& operator=(const ViewBackgroundShape&) = delete;
/** Query the associated view layer of this shape
*/