summaryrefslogtreecommitdiff
path: root/include/vcl/gradient.hxx
diff options
context:
space:
mode:
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 )); }