diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-10 21:41:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-11 07:15:35 +0000 |
commit | c210bf4510585b554e0e9a371f27fa27e2874762 (patch) | |
tree | 62f8c45ab415da97af398508e3ea64329268e7a3 /sal/rtl/rtl_process.cxx | |
parent | cf81f3ba0602eeffad8907a1bb9cdd24e62c2d1e (diff) |
tdf#94306 replace boost::noncopyable r.. to sdext
... in modules reportdesign to sdext
Replace with C++11 delete copy-constructur and
copy-assignment.
Remove boost/noncopyable.hpp includes.
Make some overloaded ctors explicit
(most in sd slidesorter).
Add deleted copy-assignment in sc/inc/chart2uno.hxx.
Change-Id: I21d4209f0ddb00063ca827474516a05ab4bb2f9a
Reviewed-on: https://gerrit.libreoffice.org/23970
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sal/rtl/rtl_process.cxx')
-rw-r--r-- | sal/rtl/rtl_process.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/rtl/rtl_process.cxx b/sal/rtl/rtl_process.cxx index 5eb411ba72d5..a391dc8e7453 100644 --- a/sal/rtl/rtl_process.cxx +++ b/sal/rtl/rtl_process.cxx @@ -21,7 +21,6 @@ #include <cstring> -#include "boost/noncopyable.hpp" #include "rtl/instance.hxx" #include "rtl/process.h" #include "rtl/uuid.h" @@ -29,10 +28,13 @@ namespace { -class Id: private boost::noncopyable { +class Id { public: Id() { rtl_createUuid(uuid_, nullptr, false); } + Id(const Id&) = delete; + Id& operator=(const Id&) = delete; + void copy(sal_uInt8 * target) const { std::memcpy(target, uuid_, UUID_SIZE); } |