Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
index 6489b1ed980fd6fbe147226fc78dd54a7b7d6c6d..cc607f447760a5b748c46e7e253d3b1db3c21dd0 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -978,7 +978,7 @@ FX_BOOL CPDF_Parser::LoadCrossRefV5(FX_FILESIZE* pos, FX_BOOL bMainXRef) { |
if (bMainXRef) { |
m_pTrailer = ToDictionary(pStream->GetDict()->Clone()); |
ShrinkObjectMap(size); |
- for (auto it : m_ObjectInfo) |
+ for (auto& it : m_ObjectInfo) |
it.second.type = 0; |
} else { |
m_Trailers.Add(ToDictionary(pStream->GetDict()->Clone())); |