summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-03 19:07:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-03 19:07:54 +0100
commite65b42831bca279d67748eaacb119e844d3d6964 (patch)
tree054a19ceb46d9dc445c92a1b77c70970d76d9599 /vcl
parent0047512ad973ad2d214eff6afd06c9eab856dfba (diff)
coverity#1371244 Missing move assignment operator
Change-Id: I172f8397a96e5b7d0d4639e35c591caea2a0eef4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 5f83ff738c34..d68ca2c59567 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -1584,6 +1584,13 @@ PPDContext& PPDContext::operator=( const PPDContext& rCopy )
return *this;
}
+PPDContext& PPDContext::operator=( PPDContext&& rCopy )
+{
+ std::swap(m_pParser, rCopy.m_pParser);
+ std::swap(m_aCurrentValues, rCopy.m_aCurrentValues);
+ return *this;
+}
+
PPDContext::~PPDContext()
{
}