summaryrefslogtreecommitdiff
path: root/include/vcl/gradient.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 15:33:59 +0200
committerNoel Grandin <noel@peralex.com>2016-08-29 09:23:46 +0200
commitae23dca9847e7f456d39ae8e71b433531eba1eb3 (patch)
tree777de6ce402a69a9707151be80e2ba45e591431f /include/vcl/gradient.hxx
parent529cfa4a16c79600f6ac09811d027134055a8c0c (diff)
cid#1371235 Missing move assignment operator
Change-Id: If5fc8d783211a131711b5961d6b076c24dd64412
Diffstat (limited to 'include/vcl/gradient.hxx')
-rw-r--r--include/vcl/gradient.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/gradient.hxx b/include/vcl/gradient.hxx
index 6ebff6ded2a2..6563b51abf69 100644
--- a/include/vcl/gradient.hxx
+++ b/include/vcl/gradient.hxx
@@ -61,6 +61,7 @@ private:
public:
Gradient();
Gradient( const Gradient& rGradient );
+ Gradient( Gradient&& rGradient );
Gradient( GradientStyle eStyle,
const Color& rStartColor,
const Color& rEndColor );
@@ -95,6 +96,7 @@ public:
void GetBoundRect( const Rectangle& rRect, Rectangle &rBoundRect, Point& rCenter ) const;
Gradient& operator=( const Gradient& rGradient );
+ Gradient& operator=( Gradient&& rGradient );
bool operator==( const Gradient& rGradient ) const;
bool operator!=( const Gradient& rGradient ) const
{ return !(Gradient::operator==( rGradient )); }