From 97abbec95665b43a9a09e10a0fb31854cdbd5c0d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Wed, 13 Apr 2016 10:11:37 +0200 Subject: 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 Reviewed-by: Michael Stahl --- test/source/vclbootstrapprotector.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/source/vclbootstrapprotector.cxx') 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 -#include #include #include #include @@ -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() { -- cgit v1.2.3