summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/ipcd/ipcd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/graphicfilter/ipcd/ipcd.cxx')
-rw-r--r--filter/source/graphicfilter/ipcd/ipcd.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/graphicfilter/ipcd/ipcd.cxx b/filter/source/graphicfilter/ipcd/ipcd.cxx
index 6da5f9c50f02..4aa33c116796 100644
--- a/filter/source/graphicfilter/ipcd/ipcd.cxx
+++ b/filter/source/graphicfilter/ipcd/ipcd.cxx
@@ -55,13 +55,13 @@ private:
PCDResolution eResolution; // which resolution we want
- sal_uLong nWidth; // width of the PCD picture
- sal_uLong nHeight; // height of the PCD picture
- sal_uLong nImagePos; // position of the picture within the PCD file
+ sal_uInt32 nWidth; // width of the PCD picture
+ sal_uInt32 nHeight; // height of the PCD picture
+ sal_uInt32 nImagePos; // position of the picture within the PCD file
// temporary lLue-Green-Red-Bitmap
- sal_uLong nBMPWidth;
- sal_uLong nBMPHeight;
+ sal_uInt32 nBMPWidth;
+ sal_uInt32 nBMPHeight;
void CheckPCDImagePacFile();
// checks whether it's a Photo-CD file with 'Image Pac'
@@ -183,7 +183,7 @@ void PCDReader::ReadOrientation()
void PCDReader::ReadImage()
{
- sal_uLong nx,ny,nW2,nH2,nYPair,ndy,nXPair;
+ sal_uInt32 nx,ny,nW2,nH2,nYPair,ndy,nXPair;
long nL,nCb,nCr,nRed,nGreen,nBlue;
sal_uInt8 * pt;
sal_uInt8 * pL0; // luminance for each pixel of the 1st row of the current pair of rows