summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorSteven Guo <steventimothyguo@gmail.com>2016-03-06 21:19:25 -0800
committerMichael Stahl <mstahl@redhat.com>2016-03-08 16:10:46 +0000
commit5819268ad709f52417b59421260e86e9c7e90f75 (patch)
treef9fe039fa103a68500932bef2fa5c71e9983dc2f /basic/inc
parentb9a25b254b93568607285f9396c87f4286d7132e (diff)
tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors
Replaced boost::noncopyable with plain C++11 deleted copy ctors in /basic/* files. Change-Id: I9c0eb0a51ec5cb25c88c72b55f42864e73006e6b Reviewed-on: https://gerrit.libreoffice.org/22969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/sbxbase.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx
index ad10d61e721f..39d02272b34c 100644
--- a/basic/inc/sbxbase.hxx
+++ b/basic/inc/sbxbase.hxx
@@ -24,8 +24,6 @@
#include <basic/sbxdef.hxx>
#include <basic/basicdllapi.h>
-#include <boost/noncopyable.hpp>
-
#include <memory>
#include <vector>
@@ -35,7 +33,6 @@ class SbxBasicFormater;
// AppData structure for SBX:
struct SbxAppData
- : private ::boost::noncopyable
{
SbxError eSbxError; // Error code
std::vector<std::unique_ptr<SbxFactory>>
@@ -46,6 +43,8 @@ struct SbxAppData
// It might be useful to store this class 'global' because some string resources are saved here
SbxAppData();
+ SbxAppData(const SbxAppData&) = delete;
+ const SbxAppData& operator=(const SbxAppData&) = delete;
~SbxAppData();
};