summaryrefslogtreecommitdiff
path: root/basic/source/classes
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/source/classes
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/source/classes')
-rw-r--r--basic/source/classes/sbxmod.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 033dd0473b39..82aedf5a7076 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -71,7 +71,6 @@
#include <ooo/vba/VbQueryClose.hpp>
#include <list>
#include <memory>
-#include <boost/noncopyable.hpp>
#include "sbxmod.hxx"
#include "parser.hxx"
@@ -446,11 +445,13 @@ bool getDefaultVBAMode( StarBASIC* pb )
return xVBACompat.is() && xVBACompat->getVBACompatibilityMode();
}
-class AsyncQuitHandler: private boost::noncopyable
+class AsyncQuitHandler
{
AsyncQuitHandler() {}
public:
+ AsyncQuitHandler(const AsyncQuitHandler&) = delete;
+ const AsyncQuitHandler& operator=(const AsyncQuitHandler&) = delete;
static AsyncQuitHandler& instance()
{
static AsyncQuitHandler dInst;
@@ -2242,7 +2243,7 @@ typedef ::cppu::WeakImplHelper<
document::XDocumentEventListener > FormObjEventListener_BASE;
class FormObjEventListenerImpl:
- public FormObjEventListener_BASE, private boost::noncopyable
+ public FormObjEventListener_BASE
{
SbUserFormModule* mpUserForm;
uno::Reference< lang::XComponent > mxComponent;
@@ -2253,6 +2254,8 @@ class FormObjEventListenerImpl:
bool mbShowing;
public:
+ FormObjEventListenerImpl(const FormObjEventListenerImpl&) = delete;
+ const FormObjEventListenerImpl& operator=(const FormObjEventListenerImpl&) = delete;
FormObjEventListenerImpl( SbUserFormModule* pUserForm, const uno::Reference< lang::XComponent >& xComponent, const uno::Reference< frame::XModel >& xModel ) :
mpUserForm( pUserForm ), mxComponent( xComponent), mxModel( xModel ),
mbDisposed( false ), mbOpened( false ), mbActivated( false ), mbShowing( false )