summaryrefslogtreecommitdiff
path: root/vcl/source/image
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image')
-rw-r--r--vcl/source/image/Image.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index 20c37772210c..de1774efed29 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -201,6 +201,12 @@ Image& Image::operator=( const Image& rImage )
return *this;
}
+Image& Image::operator=( Image&& rImage )
+{
+ std::swap(mpImplData, rImage.mpImplData);
+ return *this;
+}
+
bool Image::operator==(const Image& rImage) const
{
bool bRet = false;