summaryrefslogtreecommitdiff
path: root/test/source/vclbootstrapprotector.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-13 10:11:37 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-13 11:19:04 +0000
commit97abbec95665b43a9a09e10a0fb31854cdbd5c0d (patch)
treeb6917d80775c411a5480febd77b89fb256203b6a /test/source/vclbootstrapprotector.cxx
parent9a2ff36b51f86ca3ade8093d7698314c0d3db6a6 (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 'test/source/vclbootstrapprotector.cxx')
-rw-r--r--test/source/vclbootstrapprotector.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/source/vclbootstrapprotector.cxx b/test/source/vclbootstrapprotector.cxx
index 3fbb0a9d3892..2f193c6bd04a 100644
--- a/test/source/vclbootstrapprotector.cxx
+++ b/test/source/vclbootstrapprotector.cxx
@@ -9,7 +9,6 @@
#include <sal/config.h>
-#include <boost/noncopyable.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/util/XFlushable.hpp>
@@ -29,7 +28,7 @@
namespace {
-class Protector: public CppUnit::Protector, private boost::noncopyable {
+class Protector: public CppUnit::Protector {
public:
Protector() {
// Force locale (and resource files loaded) to en-US:
@@ -45,6 +44,8 @@ public:
}
Application::setDeInitHook(LINK(this, Protector, deinitHook));
}
+ Protector(const Protector&) = delete;
+ Protector& operator=(const Protector&) = delete;
private:
virtual ~Protector() {