diff options
Diffstat (limited to 'filter/source/graphicfilter/etiff')
-rw-r--r-- | filter/source/graphicfilter/etiff/etiff.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx index a3ecf744622d..cd1ef448a32e 100644 --- a/filter/source/graphicfilter/etiff/etiff.cxx +++ b/filter/source/graphicfilter/etiff/etiff.cxx @@ -397,7 +397,7 @@ sal_Bool TIFFWriter::ImplWriteBody() ImplCallback( 100 * mnCurAllPictHeight / mnSumOfAllPictHeight ); for ( x = 0; x < mnWidth; x++ ) { - Compress( mpAcc->GetPixel( y, x ) ); + Compress( mpAcc->GetPixelIndex( y, x ) ); } } } @@ -411,9 +411,9 @@ sal_Bool TIFFWriter::ImplWriteBody() for ( x = 0; x < mnWidth; x++, nShift++ ) { if (!( nShift & 1 )) - nTemp = ( (sal_uInt8)mpAcc->GetPixel( y, x ) << 4 ); + nTemp = ( mpAcc->GetPixelIndex( y, x ) << 4 ); else - Compress( (sal_uInt8)( nTemp | ( mpAcc->GetPixel( y, x ) & 0xf ) ) ); + Compress( (sal_uInt8)( nTemp | ( mpAcc->GetPixelIndex( y, x ) & 0xf ) ) ); } if ( nShift & 1 ) Compress( nTemp ); @@ -430,7 +430,7 @@ sal_Bool TIFFWriter::ImplWriteBody() for ( x = 0; x < mnWidth; x++) { j <<= 1; - j |= ( ( ~mpAcc->GetPixel( y, x ) ) & 1 ); + j |= ( ( ~mpAcc->GetPixelIndex( y, x ) ) & 1 ); if ( j & 0x100 ) { Compress( (sal_uInt8)j ); |