diff options
Diffstat (limited to 'filter/source/graphicfilter/ipcx/ipcx.cxx')
-rw-r--r-- | filter/source/graphicfilter/ipcx/ipcx.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/ipcx/ipcx.cxx b/filter/source/graphicfilter/ipcx/ipcx.cxx index 0a8d7a3abbe4..1c09f0018118 100644 --- a/filter/source/graphicfilter/ipcx/ipcx.cxx +++ b/filter/source/graphicfilter/ipcx/ipcx.cxx @@ -226,13 +226,10 @@ void PCXReader::ImplReadHeader() void PCXReader::ImplReadBody() { BYTE *pPlane[ 4 ], * pDest, * pSource1, * pSource2, * pSource3, *pSource4; - ULONG i, nx, ny, np, nCount, nUsedLineSize, nLineSize, nPercent; + ULONG i, nx, ny, np, nCount, nPercent; ULONG nLastPercent = 0; BYTE nDat = 0, nCol = 0; - nUsedLineSize = (ULONG)( ( ( nWidth * (ULONG)nDestBitsPerPixel ) + 7 ) >> 3 ); - nLineSize = ( nUsedLineSize + 3 ) & 0xfffc; - for( np = 0; np < nPlanes; np++ ) pPlane[ np ] = new BYTE[ nBytesPerPlaneLin ]; |