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/alpha.hxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/vcl/alpha.hxx')
-rw-r--r-- | include/vcl/alpha.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx index acbb70b7d911..282074f8d73e 100644 --- a/include/vcl/alpha.hxx +++ b/include/vcl/alpha.hxx @@ -54,17 +54,17 @@ public: return (AlphaMask&) Bitmap::operator=( rAlphaMask ); } - sal_Bool operator!() const + bool operator!() const { return Bitmap::operator!(); } - sal_Bool operator==( const AlphaMask& rAlphaMask ) const + bool operator==( const AlphaMask& rAlphaMask ) const { return Bitmap::operator==( rAlphaMask ); } - sal_Bool operator!=( const AlphaMask& rAlphaMask ) const + bool operator!=( const AlphaMask& rAlphaMask ) const { return Bitmap::operator!=( rAlphaMask ); } @@ -105,12 +105,12 @@ public: Bitmap GetBitmap() const; - sal_Bool CopyPixel( const Rectangle& rRectDst, const Rectangle& rRectSrc, + bool CopyPixel( const Rectangle& rRectDst, const Rectangle& rRectSrc, const AlphaMask* pAlphaSrc = NULL); - sal_Bool Erase( sal_uInt8 cTransparency ); - sal_Bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency ); - sal_Bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency, + bool Erase( sal_uInt8 cTransparency ); + bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency ); + bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency, sal_uLong nTol = 0UL ); BitmapReadAccess* AcquireReadAccess() |