Index: fpdfsdk/formfiller/cba_fontmap.cpp |
diff --git a/fpdfsdk/formfiller/cba_fontmap.cpp b/fpdfsdk/formfiller/cba_fontmap.cpp |
index 8a981690f1cf637fa35404648f01e916ae2aba78..07ae43d1db90c5d7e75336c98072c2280c6dbefa 100644 |
--- a/fpdfsdk/formfiller/cba_fontmap.cpp |
+++ b/fpdfsdk/formfiller/cba_fontmap.cpp |
@@ -167,7 +167,7 @@ void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont, |
CPDF_Stream* pStream = pAPDict->GetStreamFor(m_sAPType); |
if (!pStream) { |
- pStream = new CPDF_Stream(nullptr, 0, nullptr); |
+ pStream = new CPDF_Stream; |
int32_t objnum = m_pDocument->AddIndirectObject(pStream); |
pAPDict->SetReferenceFor(m_sAPType, m_pDocument, objnum); |
} |