summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slideview.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-13 10:07:19 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-13 11:34:32 +0000
commit0de868cd0f430efc6256926c2865530818d7b7dd (patch)
tree60e681b0e119d50022500fbc0f91cbdd4d7c979c /slideshow/source/engine/slideview.cxx
parent19b34c0039c6293f9b37aa70f8055aa2be28ba09 (diff)
tdf#94306 replace boost::noncopyable in sfx2 to sot
Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Add missing default ctors. Make some overloaded ctors explicit, seems cppcheck doesn't flag: T(const template<X>& rx). Change-Id: I63c5a3ac84a33ea6d49868e2d9aa281ada79958e Reviewed-on: https://gerrit.libreoffice.org/24050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'slideshow/source/engine/slideview.cxx')
-rw-r--r--slideshow/source/engine/slideview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx
index 053dfea69519..bc6fee9cd88f 100644
--- a/slideshow/source/engine/slideview.cxx
+++ b/slideshow/source/engine/slideview.cxx
@@ -51,8 +51,6 @@
#include <com/sun/star/presentation/XSlideShow.hpp>
-#include <boost/noncopyable.hpp>
-
#include <memory>
#include <vector>
#include <iterator>
@@ -377,8 +375,7 @@ public:
the layer priority changes, the sprites change z order together
with their parent.
*/
-class SlideViewLayer : public ViewLayer,
- private boost::noncopyable
+class SlideViewLayer : public ViewLayer
{
/// Smart container for all sprites issued by this layer
mutable LayerSpriteContainer maSpriteContainer;
@@ -442,6 +439,9 @@ public:
{
}
+ SlideViewLayer(const SlideViewLayer&) = delete;
+ SlideViewLayer& operator=(const SlideViewLayer&) = delete;
+
void updateView( const basegfx::B2DHomMatrix& rMatrix,
const basegfx::B2DSize& rUserSize )
{