From d17d7c63d2d15495f7faeead11672c1a9e798610 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 Sep 2016 11:44:17 +0100 Subject: coverity#1371156 Missing move assignment operator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I187bc61678b5283843227612c243c5a09d0e7eb1 Reviewed-on: https://gerrit.libreoffice.org/29227 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/graph.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl') 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; -- cgit