Index: core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
index 670465673b1e29403e097c8d7f61148d5316214a..86db177ad787afac107a70c730d9ae592158866c 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
@@ -519,8 +519,8 @@ void CPDF_LabCS::TranslateImageLine(FX_LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int |
} |
} |
CPDF_IccProfile::CPDF_IccProfile(FX_LPCBYTE pData, FX_DWORD dwSize): |
- m_bsRGB(FALSE), |
- m_pTransform(NULL), |
+ m_bsRGB(FALSE), |
+ m_pTransform(NULL), |
m_nSrcComponents(0) |
{ |
if (dwSize == 3144 && FXSYS_memcmp32(pData + 0x190, "sRGB IEC61966-2.1", 17) == 0) { |
@@ -1376,13 +1376,13 @@ void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) |
if (ncomps) { |
FXSYS_memcpy32(pvalue->m_Comps, comps, ncomps * sizeof(FX_FLOAT)); |
} |
- pvalue->m_pCountedPattern = NULL; |
- if (pPattern && pPattern->m_pDocument) |
- { |
- if (!pDocPageData) { |
- pDocPageData = pPattern->m_pDocument->GetPageData(); |
- } |
- pvalue->m_pCountedPattern = pDocPageData->FindPatternPtr(pPattern->m_pPatternObj); |
+ pvalue->m_pCountedPattern = NULL; |
+ if (pPattern && pPattern->m_pDocument) |
+ { |
+ if (!pDocPageData) { |
+ pDocPageData = pPattern->m_pDocument->GetPageData(); |
+ } |
+ pvalue->m_pCountedPattern = pDocPageData->FindPatternPtr(pPattern->m_pPatternObj); |
} |
} |
void CPDF_Color::Copy(const CPDF_Color* pSrc) |