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 d6531f51842bae781c55986250d8236010f1500b..7fed6a380c65e3c5ff22ca00c52342a5c5e643bd 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_parser.cpp |
@@ -822,11 +822,10 @@ FX_BOOL CPDF_Parser::RebuildCrossRef() { |
uint32_t dwObjNum = |
pElement ? pElement->GetObjNum() : 0; |
if (dwObjNum) { |
- m_pTrailer->SetAtReference(key.AsStringC(), |
- m_pDocument, dwObjNum); |
+ m_pTrailer->SetAtReference(key, m_pDocument, |
+ dwObjNum); |
} else { |
- m_pTrailer->SetAt(key.AsStringC(), |
- pElement->Clone()); |
+ m_pTrailer->SetAt(key, pElement->Clone()); |
} |
} |
} |