summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-18 08:26:33 +0200
committerNoel Grandin <noel@peralex.com>2016-03-15 08:52:23 +0200
commit52e438caafc3cd24b3759b08c1aaee88e5b67877 (patch)
treeceb8aef8dd12c2b81caf2138ac194b086d9a77ff /vcl/source/gdi/bitmap3.cxx
parenta0d5f0896ed7f2de8ceffd664ee469a383ce7d53 (diff)
remove unnecessary parentheses in case labels
Change-Id: I987bf68c767709080c67c8b183c036a4109c6caa
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 5d08e16aa8ff..bd9b90a2e58b 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -261,19 +261,19 @@ bool Bitmap::Convert( BmpConversion eConversion )
switch( eConversion )
{
- case( BMP_CONVERSION_1BIT_THRESHOLD ):
+ case BMP_CONVERSION_1BIT_THRESHOLD:
bRet = ImplMakeMono( 128 );
break;
- case( BMP_CONVERSION_1BIT_MATRIX ):
+ case BMP_CONVERSION_1BIT_MATRIX:
bRet = ImplMakeMonoDither();
break;
- case( BMP_CONVERSION_4BIT_GREYS ):
+ case BMP_CONVERSION_4BIT_GREYS:
bRet = ImplMakeGreyscales( 16 );
break;
- case( BMP_CONVERSION_4BIT_COLORS ):
+ case BMP_CONVERSION_4BIT_COLORS:
{
if( nBitCount < 4 )
bRet = ImplConvertUp( 4 );
@@ -284,7 +284,7 @@ bool Bitmap::Convert( BmpConversion eConversion )
}
break;
- case( BMP_CONVERSION_4BIT_TRANS ):
+ case BMP_CONVERSION_4BIT_TRANS:
{
Color aTrans( BMP_COL_TRANS );
@@ -295,11 +295,11 @@ bool Bitmap::Convert( BmpConversion eConversion )
}
break;
- case( BMP_CONVERSION_8BIT_GREYS ):
+ case BMP_CONVERSION_8BIT_GREYS:
bRet = ImplMakeGreyscales( 256 );
break;
- case( BMP_CONVERSION_8BIT_COLORS ):
+ case BMP_CONVERSION_8BIT_COLORS:
{
if( nBitCount < 8 )
bRet = ImplConvertUp( 8 );
@@ -310,7 +310,7 @@ bool Bitmap::Convert( BmpConversion eConversion )
}
break;
- case( BMP_CONVERSION_8BIT_TRANS ):
+ case BMP_CONVERSION_8BIT_TRANS:
{
Color aTrans( BMP_COL_TRANS );
@@ -321,7 +321,7 @@ bool Bitmap::Convert( BmpConversion eConversion )
}
break;
- case( BMP_CONVERSION_24BIT ):
+ case BMP_CONVERSION_24BIT:
{
if( nBitCount < 24 )
bRet = ImplConvertUp( 24 );
@@ -330,7 +330,7 @@ bool Bitmap::Convert( BmpConversion eConversion )
}
break;
- case( BMP_CONVERSION_GHOSTED ):
+ case BMP_CONVERSION_GHOSTED:
bRet = ImplConvertGhosted();
break;