summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fpdfapi/fpdf_resource.h')
-rw-r--r--core/include/fpdfapi/fpdf_resource.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h
index a5acc77762..f4dd6331de 100644
--- a/core/include/fpdfapi/fpdf_resource.h
+++ b/core/include/fpdfapi/fpdf_resource.h
@@ -435,7 +435,7 @@ class CPDF_ColorSpace {
int GetBufSize() const;
FX_FLOAT* CreateBuf();
void GetDefaultColor(FX_FLOAT* buf) const;
- int CountComponents() const { return m_nComponents; }
+ FX_DWORD CountComponents() const { return m_nComponents; }
int GetFamily() const { return m_Family; }
virtual void GetDefaultValue(int iComponent,
FX_FLOAT& value,
@@ -485,7 +485,7 @@ class CPDF_ColorSpace {
CPDF_Document* const m_pDocument;
protected:
- CPDF_ColorSpace(CPDF_Document* pDoc, int family, int nComponents)
+ CPDF_ColorSpace(CPDF_Document* pDoc, int family, FX_DWORD nComponents)
: m_pDocument(pDoc),
m_Family(family),
m_nComponents(nComponents),
@@ -511,11 +511,8 @@ class CPDF_ColorSpace {
}
int m_Family;
-
- int m_nComponents;
-
+ FX_DWORD m_nComponents;
CPDF_Array* m_pArray;
-
FX_DWORD m_dwStdConversion;
};
class CPDF_Color {