summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:27:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:01 +0100
commit0e882b65139d2861c8db369ee459c16e431dea88 (patch)
tree04ca7d2fc0711b60145033cc2420aa541fdbb952 /scripting/source
parentbdf2fcd5afb4a4fb1fe0683cf07a8beec78dcc04 (diff)
loplugin:deletedspecial
Change-Id: I862b29974c770aea7396f2d650208b1f3e1f4e4b
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/dlgprov/DialogModelProvider.hxx4
-rw-r--r--scripting/source/inc/util/scriptingconstants.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/dlgprov/DialogModelProvider.hxx b/scripting/source/dlgprov/DialogModelProvider.hxx
index 2a0696b2e7de..ef1f468be98c 100644
--- a/scripting/source/dlgprov/DialogModelProvider.hxx
+++ b/scripting/source/dlgprov/DialogModelProvider.hxx
@@ -74,8 +74,8 @@ private:
virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
- DialogModelProvider(const DialogModelProvider &); // not defined
- DialogModelProvider& operator=(const DialogModelProvider &); // not defined
+ DialogModelProvider(const DialogModelProvider &) SAL_DELETED_FUNCTION;
+ DialogModelProvider& operator=(const DialogModelProvider &) SAL_DELETED_FUNCTION;
// destructor is private and will be called indirectly by the release call virtual ~DialogModelProvider() {}
diff --git a/scripting/source/inc/util/scriptingconstants.hxx b/scripting/source/inc/util/scriptingconstants.hxx
index f1cceaa735a2..ea0e4371d916 100644
--- a/scripting/source/inc/util/scriptingconstants.hxx
+++ b/scripting/source/inc/util/scriptingconstants.hxx
@@ -50,8 +50,8 @@ public:
return *pPool;
}
private:
- ScriptingConstantsPool( const ScriptingConstantsPool & );
- ScriptingConstantsPool& operator = ( const ScriptingConstantsPool & );
+ ScriptingConstantsPool( const ScriptingConstantsPool & ) SAL_DELETED_FUNCTION;
+ ScriptingConstantsPool& operator = ( const ScriptingConstantsPool & ) SAL_DELETED_FUNCTION;
ScriptingConstantsPool()
: DOC_REF( "SCRIPTING_DOC_REF" ),
DOC_STORAGE_ID( "SCRIPTING_DOC_STORAGE_ID" ),