diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 15:17:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 18:23:50 +0000 |
commit | f97cd16ea48315d09a420d2e2c7e5a229d3d18e6 (patch) | |
tree | 3363bc89c9e9c1021802030eb2d28cd2b174fa9d /include/svl | |
parent | 9d6a749bc664f1876c938afb9eba4adc9f6ee09a (diff) |
coverity#1371220 Missing move assignment operator
Change-Id: Ie2947ea621da7ffc6c9530f007e1acdd4efb50cb
Reviewed-on: https://gerrit.libreoffice.org/32650
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/svdde.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx index e59aea050ce2..5a2696cac197 100644 --- a/include/svl/svdde.hxx +++ b/include/svl/svdde.hxx @@ -65,9 +65,10 @@ class SVL_DLLPUBLIC DdeData public: DdeData(); - DdeData( SAL_UNUSED_PARAMETER const void*, SAL_UNUSED_PARAMETER long, SAL_UNUSED_PARAMETER SotClipboardFormatId = SotClipboardFormatId::STRING ); - DdeData( SAL_UNUSED_PARAMETER const OUString& ); - DdeData( const DdeData& ); + DdeData(SAL_UNUSED_PARAMETER const void*, SAL_UNUSED_PARAMETER long, SAL_UNUSED_PARAMETER SotClipboardFormatId = SotClipboardFormatId::STRING); + DdeData(SAL_UNUSED_PARAMETER const OUString&); + DdeData(const DdeData&); + DdeData(DdeData&&); ~DdeData(); void const * getData() const; @@ -75,7 +76,8 @@ public: SotClipboardFormatId GetFormat() const; - DdeData& operator = ( const DdeData& ); + DdeData& operator=(const DdeData&); + DdeData& operator=(DdeData&&); static sal_uLong GetExternalFormat(SotClipboardFormatId nFmt); static SotClipboardFormatId GetInternalFormat(sal_uLong nFmt); |