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 /svl/source/svdde | |
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 'svl/source/svdde')
-rw-r--r-- | svl/source/svdde/ddeimp.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx index 52df93687439..6c7b3d3a9506 100644 --- a/svl/source/svdde/ddeimp.hxx +++ b/svl/source/svdde/ddeimp.hxx @@ -23,7 +23,6 @@ #include <windows.h> #include <ddeml.h> -#include <boost/noncopyable.hpp> #include <rtl/ustring.hxx> #include <svl/svdde.hxx> #include <vector> @@ -82,7 +81,7 @@ struct DdeDataImp class DdeConnection; -class DdeInstData : private boost::noncopyable +class DdeInstData { public: sal_uInt16 nRefCount; @@ -106,6 +105,8 @@ public: , nInstanceCli(0) { } + DdeInstData(const DdeInstData&) = delete; + DdeInstData& operator=(const DdeInstData&) = delete; }; DdeInstData* ImpGetInstData(); |