diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-13 10:07:19 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-13 11:34:32 +0000 |
commit | 0de868cd0f430efc6256926c2865530818d7b7dd (patch) | |
tree | 60e681b0e119d50022500fbc0f91cbdd4d7c979c /slideshow/source/engine/shapes/externalshapebase.cxx | |
parent | loplugin:passstuffbyref in svtools (diff) | |
download | core-0de868cd0f430efc6256926c2865530818d7b7dd.tar.gz core-0de868cd0f430efc6256926c2865530818d7b7dd.zip |
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/shapes/externalshapebase.cxx')
-rw-r--r-- | slideshow/source/engine/shapes/externalshapebase.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/slideshow/source/engine/shapes/externalshapebase.cxx b/slideshow/source/engine/shapes/externalshapebase.cxx index d181ab816991..40c0d99b2df0 100644 --- a/slideshow/source/engine/shapes/externalshapebase.cxx +++ b/slideshow/source/engine/shapes/externalshapebase.cxx @@ -30,8 +30,6 @@ #include "intrinsicanimationeventhandler.hxx" #include "tools.hxx" -#include <boost/noncopyable.hpp> - using namespace ::com::sun::star; @@ -41,14 +39,14 @@ namespace slideshow namespace internal { class ExternalShapeBase::ExternalShapeBaseListener : public ViewEventHandler, - public IntrinsicAnimationEventHandler, - private boost::noncopyable + public IntrinsicAnimationEventHandler { public: explicit ExternalShapeBaseListener( ExternalShapeBase& rBase ) : mrBase( rBase ) {} - + ExternalShapeBaseListener(const ExternalShapeBaseListener&) = delete; + ExternalShapeBaseListener& operator=(const ExternalShapeBaseListener&) = delete; private: // ViewEventHandler |