summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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;