diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /include/vcl/gradient.hxx | |
parent | Don't unnecessarily(?) drop compiler flags when rewriting (diff) | |
download | core-e8f8f24c8415898c787bbfb629247ed62e73a2b9.tar.gz core-e8f8f24c8415898c787bbfb629247ed62e73a2b9.zip |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
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 ); |