summaryrefslogtreecommitdiff
path: root/svl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-02 15:17:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-02 18:23:50 +0000
commitf97cd16ea48315d09a420d2e2c7e5a229d3d18e6 (patch)
tree3363bc89c9e9c1021802030eb2d28cd2b174fa9d /svl/unx
parent9d6a749bc664f1876c938afb9eba4adc9f6ee09a (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 'svl/unx')
-rw-r--r--svl/unx/source/svdde/ddedummy.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index 393759545a19..c8f95d7c15ce 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -32,7 +32,11 @@ DdeData::DdeData( const OUString& )
{
}
-DdeData::DdeData( const DdeData& )
+DdeData::DdeData(const DdeData&)
+{
+}
+
+DdeData::DdeData(DdeData&&)
{
}
@@ -53,7 +57,12 @@ SotClipboardFormatId DdeData::GetFormat() const
return SotClipboardFormatId::NONE;
}
-DdeData& DdeData::operator = ( const DdeData& )
+DdeData& DdeData::operator=(const DdeData&)
+{
+ return *this;
+}
+
+DdeData& DdeData::operator=(DdeData&&)
{
return *this;
}