diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-06 18:32:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-07 07:28:35 +0000 |
commit | f9b200ce54cd67ddc04747f9676568a86e14d864 (patch) | |
tree | 1211402d5a9c5737f0d4979d9719ac068e092eba /canvas/source/vcl/windowoutdevholder.hxx | |
parent | 04216006ee038232067bcf74d67b14e8918063f2 (diff) |
tdf#94306 replace boost::noncopyable in canvas
Replace with C++11 delete copy-constructur
and copy-assignment.
Some helper classes had boost/noncopyable.hpp
included but didn't use it.
Change-Id: I339f2c413a944649d9d63c046e8b7f7ee6e46791
Reviewed-on: https://gerrit.libreoffice.org/23866
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas/source/vcl/windowoutdevholder.hxx')
-rw-r--r-- | canvas/source/vcl/windowoutdevholder.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/windowoutdevholder.hxx b/canvas/source/vcl/windowoutdevholder.hxx index 6e2bc1c1e499..9c51ed1a33ce 100644 --- a/canvas/source/vcl/windowoutdevholder.hxx +++ b/canvas/source/vcl/windowoutdevholder.hxx @@ -26,14 +26,14 @@ #include "outdevprovider.hxx" -#include <boost/noncopyable.hpp> - namespace vclcanvas { - class WindowOutDevHolder : public OutDevProvider, - private ::boost::noncopyable + class WindowOutDevHolder : public OutDevProvider { public: + WindowOutDevHolder(const WindowOutDevHolder&) = delete; + const WindowOutDevHolder operator=(const WindowOutDevHolder&) = delete; + explicit WindowOutDevHolder( const css::uno::Reference< css::awt::XWindow>& xWin ); private: |