diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-01 23:42:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-04 06:54:36 +0000 |
commit | 8c2f2e1dd77cdce9bdf63beff5a79f91adc44630 (patch) | |
tree | 033a2ebbf8d3b4ae28bf837498c4fa76458d1dee /basctl/source/inc | |
parent | 9338e4f5b1ffcba2d5b0bd8960dd8795d8909ff1 (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/source/inc')
-rw-r--r-- | basctl/source/inc/doceventnotifier.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
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; |