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 ba75753c9a0342c5d3d794e5044636f3a2bd132f..49fb331a9404a7d9ae4186cc51a9aa01df62c157 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp |
@@ -964,13 +964,15 @@ void CPDF_IndexedCS::EnableStdConversion(FX_BOOL bEnabled) { |
m_pBaseCS->EnableStdConversion(bEnabled); |
} |
} |
+ |
#define MAX_PATTERN_COLORCOMPS 16 |
-typedef struct _PatternValue { |
+struct PatternValue { |
CPDF_Pattern* m_pPattern; |
CPDF_CountedPattern* m_pCountedPattern; |
int m_nComps; |
FX_FLOAT m_Comps[MAX_PATTERN_COLORCOMPS]; |
-} PatternValue; |
+}; |
+ |
CPDF_PatternCS::~CPDF_PatternCS() { |
CPDF_ColorSpace* pCS = m_pCountedBaseCS ? m_pCountedBaseCS->get() : NULL; |
if (pCS && m_pDocument) { |