diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/DialogModelProvider.hxx | 4 | ||||
-rw-r--r-- | scripting/source/inc/util/scriptingconstants.hxx | 4 |
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" ), |