summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-23 11:44:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-23 16:14:41 +0000
commitd17d7c63d2d15495f7faeead11672c1a9e798610 (patch)
tree9458fbd9f167a6ec21f8c7d7696fcf3634486bf7 /include
parentc136c978751e6d3f86fd2ca6c3d468049c0d3f51 (diff)
coverity#1371156 Missing move assignment operator
Change-Id: I187bc61678b5283843227612c243c5a09d0e7eb1 Reviewed-on: https://gerrit.libreoffice.org/29227 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graph.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 66f07a476520..31df428baca9 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -116,6 +116,7 @@ public:
public:
Graphic();
Graphic( const Graphic& rGraphic );
+ Graphic( Graphic&& rGraphic );
Graphic( const Bitmap& rBmp );
Graphic( const BitmapEx& rBmpEx );
Graphic( const SvgDataPtr& rSvgDataPtr );
@@ -125,6 +126,7 @@ public:
virtual ~Graphic() override;
Graphic& operator=( const Graphic& rGraphic );
+ Graphic& operator=( Graphic&& rGraphic );
bool operator==( const Graphic& rGraphic ) const;
bool operator!=( const Graphic& rGraphic ) const;
bool operator!() const;