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/DropTarget.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/DropTarget.hxx')
-rw-r--r-- | vcl/osx/DropTarget.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/osx/DropTarget.hxx b/vcl/osx/DropTarget.hxx index a54d390167b4..7659eed2eccc 100644 --- a/vcl/osx/DropTarget.hxx +++ b/vcl/osx/DropTarget.hxx @@ -34,8 +34,6 @@ #include <cppuhelper/basemutex.hxx> #include <com/sun/star/lang/XMultiComponentFactory.hpp> -#include <boost/noncopyable.hpp> - #include <premac.h> #import <Cocoa/Cocoa.h> #include <postmac.h> @@ -77,12 +75,13 @@ class DropTarget: public cppu::BaseMutex, css::datatransfer::dnd::XDropTarget, css::datatransfer::dnd::XDropTargetDragContext, css::datatransfer::dnd::XDropTargetDropContext, - css::lang::XServiceInfo >, - private boost::noncopyable + css::lang::XServiceInfo > { public: DropTarget(); virtual ~DropTarget(); + DropTarget(const DropTarget&) = delete; + DropTarget& operator=(const DropTarget&) = delete; // Overrides WeakComponentImplHelper::disposing which is called by // WeakComponentImplHelper::dispose |