diff options
Diffstat (limited to 'vcl/source/gdi/salmisc.cxx')
-rw-r--r-- | vcl/source/gdi/salmisc.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/vcl/source/gdi/salmisc.cxx b/vcl/source/gdi/salmisc.cxx index 593b2b706888..037ea8073bae 100644 --- a/vcl/source/gdi/salmisc.cxx +++ b/vcl/source/gdi/salmisc.cxx @@ -114,26 +114,6 @@ static void ImplPALToTC( const BitmapBuffer& rSrcBuffer, BitmapBuffer const & rD DOUBLE_SCANLINES(); } } - else if( RemoveScanline( rSrcBuffer.mnFormat ) == ScanlineFormat::N4BitMsnPal ) - { - tools::Long nMapX; - - for (tools::Long nActY = 0; nActY < rDstBuffer.mnHeight; ++nActY) - { - tools::Long nMapY = pMapY[nActY]; - Scanline pSrcScan(pSrcScanMap[nMapY]), pDstScan(pDstScanMap[nActY]); - - for (tools::Long nX = 0; nX < rDstBuffer.mnWidth;) - { - nMapX = pMapX[ nX ]; - pFncSetPixel( pDstScan, nX++, - pColBuf[ ( pSrcScan[ nMapX >> 1 ] >> ( nMapX & 1 ? 0 : 4 ) ) & 0x0f ], - rDstMask ); - } - - DOUBLE_SCANLINES(); - } - } else if( RemoveScanline( rSrcBuffer.mnFormat ) == ScanlineFormat::N8BitPal ) { for (tools::Long nActY = 0; nActY < rDstBuffer.mnHeight; ++nActY) @@ -271,8 +251,6 @@ std::unique_ptr<BitmapBuffer> StretchAndConvert( { IMPL_CASE_SET_FORMAT( N1BitMsbPal, 1 ); IMPL_CASE_SET_FORMAT( N1BitLsbPal, 1 ); - IMPL_CASE_SET_FORMAT( N4BitMsnPal, 1 ); - IMPL_CASE_SET_FORMAT( N4BitLsnPal, 4 ); IMPL_CASE_SET_FORMAT( N8BitPal, 8 ); IMPL_CASE_SET_FORMAT( N24BitTcBgr, 24 ); IMPL_CASE_SET_FORMAT( N24BitTcRgb, 24 ); @@ -325,8 +303,6 @@ std::unique_ptr<BitmapBuffer> StretchAndConvert( // do we need a destination palette or color mask? if( ( nDstScanlineFormat == ScanlineFormat::N1BitMsbPal ) || ( nDstScanlineFormat == ScanlineFormat::N1BitLsbPal ) || - ( nDstScanlineFormat == ScanlineFormat::N4BitMsnPal ) || - ( nDstScanlineFormat == ScanlineFormat::N4BitLsnPal ) || ( nDstScanlineFormat == ScanlineFormat::N8BitPal ) ) { assert(pDstPal && "destination buffer requires palette"); |