diff options
Diffstat (limited to 'vcl/source/filter/ixbm')
-rw-r--r-- | vcl/source/filter/ixbm/xbmread.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx index 916318f2a2af..a8e88e9c48ee 100644 --- a/vcl/source/filter/ixbm/xbmread.cxx +++ b/vcl/source/filter/ixbm/xbmread.cxx @@ -327,8 +327,8 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic ) if( pAcc1 ) { - aWhite = pAcc1->GetBestMatchingColor( Color( COL_WHITE ) ); - aBlack = pAcc1->GetBestMatchingColor( Color( COL_BLACK ) ); + aWhite = pAcc1->GetBestMatchingColor( Color(COL_WHITE) ); + aBlack = pAcc1->GetBestMatchingColor( Color(COL_BLACK) ); bStatus = ParseData( &rIStm, aLine, eFormat ); } else @@ -344,7 +344,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic ) Bitmap aBlackBmp( Size( pAcc1->Width(), pAcc1->Height() ), 1 ); pAcc1.reset(); - aBlackBmp.Erase( Color( COL_BLACK ) ); + aBlackBmp.Erase( COL_BLACK ); rGraphic = BitmapEx( aBlackBmp, aBmp1 ); eReadState = XBMREAD_OK; } |