diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 17:43:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:09 +0200 |
commit | a602a1ce43ea5debf6693d83dd5b164942574969 (patch) | |
tree | 114b2014c9cb86f0a9082582d0d049ab37648a9b /svx/source/xoutdev/xattrbmp.cxx | |
parent | 99d4b08d05c6edba43675661c70736a2a062af21 (diff) |
operator == return type wants to be bool
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
Diffstat (limited to 'svx/source/xoutdev/xattrbmp.cxx')
-rw-r--r-- | svx/source/xoutdev/xattrbmp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx index 0518bdddf0e6..a016e03581c3 100644 --- a/svx/source/xoutdev/xattrbmp.cxx +++ b/svx/source/xoutdev/xattrbmp.cxx @@ -101,7 +101,7 @@ XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp ) return *this; } -int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const +bool XOBitmap::operator==( const XOBitmap& rXOBitmap ) const { if( eType != rXOBitmap.eType || aGraphicObject != rXOBitmap.aGraphicObject || @@ -110,7 +110,7 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const aBckgrColor != rXOBitmap.aBckgrColor || bGraphicDirty != rXOBitmap.bGraphicDirty ) { - return sal_False; + return false; } if( pPixelArray && rXOBitmap.pPixelArray ) @@ -119,10 +119,10 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const for( sal_uInt16 i = 0; i < nCount; i++ ) { if( *( pPixelArray + i ) != *( rXOBitmap.pPixelArray + i ) ) - return sal_False; + return false; } } - return sal_True; + return true; } Bitmap XOBitmap::GetBitmap() const |