summaryrefslogtreecommitdiff
path: root/vcl/source/filter/ixpm/xpmread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/ixpm/xpmread.cxx')
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 5179f77d0950..ebc8e5e7575c 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -488,7 +488,7 @@ bool XPMReader::ImplCompare( sal_uInt8 const * pSource, sal_uInt8 const * pDest,
bool XPMReader::ImplGetPara ( sal_uLong nNumb )
{
sal_uInt8 nByte;
- sal_uLong pSize = 0;
+ sal_uLong nSize = 0;
sal_uInt8* pPtr = mpStringBuf;
sal_uLong nCount = 0;
@@ -504,7 +504,7 @@ bool XPMReader::ImplGetPara ( sal_uLong nNumb )
nCount = 0xffffffff;
}
- while ( pSize < mnStringSize )
+ while ( nSize < mnStringSize )
{
nByte = *pPtr;
@@ -529,7 +529,7 @@ bool XPMReader::ImplGetPara ( sal_uLong nNumb )
nCount++;
}
}
- pSize++;
+ nSize++;
pPtr++;
}
return ( ( nCount == nNumb ) && ( mpPara ) );