diff options
Diffstat (limited to 'filter/source/graphicfilter/eras/eras.cxx')
-rw-r--r-- | filter/source/graphicfilter/eras/eras.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/eras/eras.cxx b/filter/source/graphicfilter/eras/eras.cxx index 33da99adec75..a49dcd162357 100644 --- a/filter/source/graphicfilter/eras/eras.cxx +++ b/filter/source/graphicfilter/eras/eras.cxx @@ -210,7 +210,7 @@ void RASWriter::ImplWriteBody() ImplCallback( y ); // processing output for ( x = 0; x < mnWidth; x++ ) { - ImplPutByte ( mpAcc->GetPixel( y, x ) ); + ImplPutByte ( mpAcc->GetPixelIndex( y, x ) ); } if ( x & 1 ) ImplPutByte( 0 ); // WORD ALIGNMENT ??? } @@ -224,7 +224,7 @@ void RASWriter::ImplWriteBody() ImplCallback( y ); // processing output for ( x = 0; x < mnWidth; x++ ) { - nDat = ( ( nDat << 1 ) | ( mpAcc->GetPixel ( y, x ) & 1 ) ); + nDat = ( ( nDat << 1 ) | ( mpAcc->GetPixelIndex( y, x ) & 1 ) ); if ( ( x & 7 ) == 7 ) ImplPutByte( nDat ); } |