diff options
Diffstat (limited to 'slideshow/source/engine/shapes/drawshapesubsetting.hxx')
-rw-r--r-- | slideshow/source/engine/shapes/drawshapesubsetting.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.hxx b/slideshow/source/engine/shapes/drawshapesubsetting.hxx index 71457e38036c..48dca8e47490 100644 --- a/slideshow/source/engine/shapes/drawshapesubsetting.hxx +++ b/slideshow/source/engine/shapes/drawshapesubsetting.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_DRAWSHAPESUBSETTING_HXX #define INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_DRAWSHAPESUBSETTING_HXX -#include <boost/noncopyable.hpp> - #include "doctreenode.hxx" #include "attributableshape.hxx" @@ -35,7 +33,7 @@ namespace slideshow /** This class encapsulates the subsetting aspects of a DrawShape. */ - class DrawShapeSubsetting : private boost::noncopyable + class DrawShapeSubsetting { public: /** Create empty shape subset handling. @@ -63,6 +61,12 @@ namespace slideshow DrawShapeSubsetting( const DocTreeNode& rShapeSubset, const ::std::shared_ptr< GDIMetaFile >& rMtf ); + /// Forbid copy copstruction + DrawShapeSubsetting(const DrawShapeSubsetting&) = delete; + + /// Forbid copy assignment + DrawShapeSubsetting& operator=(const DrawShapeSubsetting&) = delete; + /** Reset metafile. Use this method to completely reset the |