diff options
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/fsstor/fsstorage.cxx | 7 | ||||
-rw-r--r-- | svl/source/numbers/zforfind.hxx | 4 | ||||
-rw-r--r-- | svl/source/undo/undo.cxx | 5 |
3 files changed, 12 insertions, 4 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index 4caaf7b7a28c..c463f9610c7f 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -83,8 +83,6 @@ bool isLocalFile_Impl( const OUString& aURL ) return ( !aSystemPath.isEmpty() ); } - - struct FSStorage_Impl { OUString m_aURL; @@ -110,8 +108,11 @@ struct FSStorage_Impl } ~FSStorage_Impl(); -}; + // Copy assignment is forbidden and not implemented. + FSStorage_Impl (const FSStorage_Impl &) SAL_DELETED_FUNCTION; + FSStorage_Impl & operator= (const FSStorage_Impl &) SAL_DELETED_FUNCTION; +}; FSStorage_Impl::~FSStorage_Impl() { diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index 40db6498050d..4dab5cb27d2a 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -184,6 +184,10 @@ private: */ sal_uInt16 nDatePatternNumbers; + // Copy assignment is forbidden and not implemented. + ImpSvNumberInputScan (const ImpSvNumberInputScan &) SAL_DELETED_FUNCTION; + ImpSvNumberInputScan & operator= (const ImpSvNumberInputScan &) SAL_DELETED_FUNCTION; + void Reset(); // Reset all variables before start of analysis void InitText(); // Init of months and days of week diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 045586dca21e..f0f5df9c6b8b 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -257,8 +257,11 @@ struct SVL_DLLPRIVATE SfxUndoManager_Data { delete pUndoArray; } -}; + // Copy assignment is forbidden and not implemented. + SfxUndoManager_Data (const SfxUndoManager_Data &) SAL_DELETED_FUNCTION; + SfxUndoManager_Data & operator= (const SfxUndoManager_Data &) SAL_DELETED_FUNCTION; +}; namespace svl { namespace undo { namespace impl { |