diff options
Diffstat (limited to 'include/vcl/gradient.hxx')
-rw-r--r-- | include/vcl/gradient.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/gradient.hxx b/include/vcl/gradient.hxx index 3a10dc083ee3..9b044f0f103d 100644 --- a/include/vcl/gradient.hxx +++ b/include/vcl/gradient.hxx @@ -103,10 +103,10 @@ public: void GetBoundRect( const Rectangle& rRect, Rectangle &rBoundRect, Point& rCenter ) const; Gradient& operator=( const Gradient& rGradient ); - sal_Bool operator==( const Gradient& rGradient ) const; - sal_Bool operator!=( const Gradient& rGradient ) const + bool operator==( const Gradient& rGradient ) const; + bool operator!=( const Gradient& rGradient ) const { return !(Gradient::operator==( rGradient )); } - sal_Bool IsSameInstance( const Gradient& rGradient ) const + bool IsSameInstance( const Gradient& rGradient ) const { return (mpImplGradient == rGradient.mpImplGradient); } friend VCL_DLLPUBLIC SvStream& ReadGradient( SvStream& rIStm, Gradient& rGradient ); |