summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index dee0722356ba..dbdc6d2e400a 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -271,7 +271,7 @@ sal_uInt16 Bitmap::GetBitCount() const
bool Bitmap::HasGreyPalette() const
{
const sal_uInt16 nBitCount = GetBitCount();
- bool bRet = nBitCount == 1 ? true : false;
+ bool bRet = nBitCount == 1;
BitmapReadAccess* pRAcc = ( (Bitmap*) this )->AcquireReadAccess();