diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-13 10:11:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-13 11:19:04 +0000 |
commit | 97abbec95665b43a9a09e10a0fb31854cdbd5c0d (patch) | |
tree | b6917d80775c411a5480febd77b89fb256203b6a /vcl/osx/DragSource.hxx | |
parent | 9a2ff36b51f86ca3ade8093d7698314c0d3db6a6 (diff) |
tdf#94306 replace boost::noncopyable in stoc to xmlsec..
Replace with C++11 delete copy-constructur
and copy-assignment.
Remove boost/noncopyable.hpp includes.
Add missing default ctors.
With this commit there should be no users
of boost::noncopyable left.
Change-Id: I6b1e47824912a6a80cc3f00f34938ebc048d8975
Reviewed-on: https://gerrit.libreoffice.org/24051
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/osx/DragSource.hxx')
-rw-r--r-- | vcl/osx/DragSource.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/osx/DragSource.hxx b/vcl/osx/DragSource.hxx index e96a3deb0ffc..ea16c2606bb5 100644 --- a/vcl/osx/DragSource.hxx +++ b/vcl/osx/DragSource.hxx @@ -30,8 +30,6 @@ #include <osl/thread.h> #include <com/sun/star/awt/MouseEvent.hpp> -#include <boost/noncopyable.hpp> - #include <premac.h> #import <Cocoa/Cocoa.h> #include <postmac.h> @@ -72,12 +70,13 @@ class AquaSalFrame; class DragSource : public ::cppu::BaseMutex, public ::cppu::WeakComponentImplHelper< css::datatransfer::dnd::XDragSource, css::lang::XInitialization, - css::lang::XServiceInfo >, - private ::boost::noncopyable + css::lang::XServiceInfo > { public: DragSource(); virtual ~DragSource(); + DragSource(const DragSource&) = delete; + DragSource& operator=(const DragSource&) = delete; // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) |