summaryrefslogtreecommitdiffstats
path: root/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
index 449a72fc81f5..bf2f1c1e84d2 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
@@ -31,8 +31,6 @@
#include <config_lgpl.h>
#include <glm/gtc/type_ptr.hpp>
-#include <boost/noncopyable.hpp>
-
#include <GL/glew.h>
#include <memory>
@@ -133,11 +131,14 @@ private:
It holds Primitives and Operations on those primitives.
*/
-class OGLTransitionImpl : private boost::noncopyable
+class OGLTransitionImpl
{
public:
virtual ~OGLTransitionImpl();
+ OGLTransitionImpl(const OGLTransitionImpl&) = delete;
+ OGLTransitionImpl& operator=(const OGLTransitionImpl&) = delete;
+
/** Prepare transition.
*/
bool prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex );
@@ -273,11 +274,13 @@ std::shared_ptr<OGLTransitionImpl> makeDiamond();
std::shared_ptr<OGLTransitionImpl> makeFadeSmoothly();
std::shared_ptr<OGLTransitionImpl> makeFadeThroughBlack();
-class SceneObject : private boost::noncopyable
+class SceneObject
{
public:
SceneObject();
virtual ~SceneObject();
+ SceneObject(const SceneObject&) = delete;
+ SceneObject& operator=(const SceneObject&) = delete;
virtual void prepare(GLuint /* program */) {}
virtual void display(GLint sceneTransformLocation, GLint primitiveTransformLocation, double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight ) const;