summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pageobjectholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_pageobjectholder.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_pageobjectholder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.cpp b/core/fpdfapi/page/cpdf_pageobjectholder.cpp
index 98950e6ff7..5de911513f 100644
--- a/core/fpdfapi/page/cpdf_pageobjectholder.cpp
+++ b/core/fpdfapi/page/cpdf_pageobjectholder.cpp
@@ -20,7 +20,7 @@ CPDF_PageObjectHolder::CPDF_PageObjectHolder(CPDF_Document* pDoc,
m_pDocument(pDoc),
m_pPageResources(nullptr),
m_pResources(nullptr),
- m_Transparency(0),
+ m_iTransparency(0),
m_bBackgroundAlphaNeeded(false),
m_ParseState(CONTENT_NOT_PARSED) {}
@@ -81,11 +81,11 @@ void CPDF_PageObjectHolder::LoadTransInfo() {
if (pGroup->GetStringFor("S") != "Transparency") {
return;
}
- m_Transparency |= PDFTRANS_GROUP;
+ m_iTransparency |= PDFTRANS_GROUP;
if (pGroup->GetIntegerFor("I")) {
- m_Transparency |= PDFTRANS_ISOLATED;
+ m_iTransparency |= PDFTRANS_ISOLATED;
}
if (pGroup->GetIntegerFor("K")) {
- m_Transparency |= PDFTRANS_KNOCKOUT;
+ m_iTransparency |= PDFTRANS_KNOCKOUT;
}
}