summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-01 23:42:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-04 06:54:36 +0000
commit8c2f2e1dd77cdce9bdf63beff5a79f91adc44630 (patch)
tree033a2ebbf8d3b4ae28bf837498c4fa76458d1dee /basctl
parent9338e4f5b1ffcba2d5b0bd8960dd8795d8909ff1 (diff)
tdf#94306 replace boost::noncopyable in ..
.. accessibility, avmedia, basctl, basic and bridges remove boost from module if not needed anymore Change-Id: I6177f8276766a0a7df1703e81bf1b448912df6e2 Reviewed-on: https://gerrit.libreoffice.org/23744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx1
-rw-r--r--basctl/source/basicide/doceventnotifier.cxx8
-rw-r--r--basctl/source/inc/doceventnotifier.hxx8
3 files changed, 10 insertions, 7 deletions
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index cdc9245df3ea..c9d33df4e75b 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -55,7 +55,6 @@
#include <utility>
#include <vector>
#include <boost/intrusive_ptr.hpp>
-#include <boost/noncopyable.hpp>
#include <osl/conditn.h>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx
index 740e0e5ed4fe..a993709753a9 100644
--- a/basctl/source/basicide/doceventnotifier.cxx
+++ b/basctl/source/basicide/doceventnotifier.cxx
@@ -27,7 +27,6 @@
#include <tools/diagnose_ex.h>
#include <comphelper/processfactory.hxx>
-#include <boost/noncopyable.hpp>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
@@ -62,11 +61,14 @@ namespace basctl
/** impl class for DocumentEventNotifier
*/
- class DocumentEventNotifier::Impl :public ::boost::noncopyable
- ,public ::cppu::BaseMutex
+ class DocumentEventNotifier::Impl :public ::cppu::BaseMutex
,public DocumentEventNotifier_Impl_Base
{
public:
+ // noncopyable
+ Impl(const Impl&) = delete;
+ const Impl& operator=(const Impl) = delete;
+
Impl (DocumentEventListener&, Reference<XModel> const& rxDocument);
virtual ~Impl ();
diff --git a/basctl/source/inc/doceventnotifier.hxx b/basctl/source/inc/doceventnotifier.hxx
index e3cda5a93855..664330d97733 100644
--- a/basctl/source/inc/doceventnotifier.hxx
+++ b/basctl/source/inc/doceventnotifier.hxx
@@ -24,8 +24,6 @@
#include <rtl/ref.hxx>
-#include <boost/noncopyable.hpp>
-
namespace basctl
{
@@ -34,9 +32,13 @@ namespace basctl
class ScriptDocument;
- class SAL_NO_VTABLE DocumentEventListener : private ::boost::noncopyable
+ class SAL_NO_VTABLE DocumentEventListener
{
public:
+ DocumentEventListener(const DocumentEventListener&) = delete;
+ const DocumentEventListener& operator=(const DocumentEventListener&) = delete;
+ DocumentEventListener() = default;
+
virtual void onDocumentCreated( const ScriptDocument& _rDocument ) = 0;
virtual void onDocumentOpened( const ScriptDocument& _rDocument ) = 0;
virtual void onDocumentSave( const ScriptDocument& _rDocument ) = 0;