Index: core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_parser.cpp b/core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
index 15af1ca5c7603264b291d6b87b144a62d5f03300..4ba43678b80c3ca2198ad22257fa07b39ea9a040 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
@@ -822,10 +822,10 @@ FX_BOOL CPDF_Parser::RebuildCrossRef() { |
uint32_t dwObjNum = |
pElement ? pElement->GetObjNum() : 0; |
if (dwObjNum) { |
- m_pTrailer->SetAtReference(key.AsByteStringC(), |
+ m_pTrailer->SetAtReference(key.AsStringC(), |
m_pDocument, dwObjNum); |
} else { |
- m_pTrailer->SetAt(key.AsByteStringC(), |
+ m_pTrailer->SetAt(key.AsStringC(), |
pElement->Clone()); |
} |
} |