summaryrefslogtreecommitdiffstats
path: root/smoketest
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-13 10:07:19 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-13 11:34:32 +0000
commit0de868cd0f430efc6256926c2865530818d7b7dd (patch)
tree60e681b0e119d50022500fbc0f91cbdd4d7c979c /smoketest
parentloplugin:passstuffbyref in svtools (diff)
downloadcore-0de868cd0f430efc6256926c2865530818d7b7dd.tar.gz
core-0de868cd0f430efc6256926c2865530818d7b7dd.zip
tdf#94306 replace boost::noncopyable in sfx2 to sot
Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Add missing default ctors. Make some overloaded ctors explicit, seems cppcheck doesn't flag: T(const template<X>& rx). Change-Id: I63c5a3ac84a33ea6d49868e2d9aa281ada79958e Reviewed-on: https://gerrit.libreoffice.org/24050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/smoketest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx
index 6bc2a9c531e6..fa301f7f0f4e 100644
--- a/smoketest/smoketest.cxx
+++ b/smoketest/smoketest.cxx
@@ -19,7 +19,6 @@
#include <sal/types.h>
#include <chrono>
-#include "boost/noncopyable.hpp"
#include "com/sun/star/awt/AsyncCallback.hpp"
#include "com/sun/star/awt/XCallback.hpp"
#include "com/sun/star/beans/PropertyState.hpp"
@@ -56,10 +55,13 @@
namespace {
-struct Result: private boost::noncopyable {
+struct Result {
osl::Condition condition;
bool success;
OUString result;
+ Result() = default;
+ Result(const Result&) = delete;
+ Result& operator=(const Result&) = delete;
};
class Listener: