Index: fpdfsdk/formfiller/cba_fontmap.cpp |
diff --git a/fpdfsdk/formfiller/cba_fontmap.cpp b/fpdfsdk/formfiller/cba_fontmap.cpp |
index 2d962ad276b16a599080cc6e30b4d98145a65302..fd9304befc8e478237c6c71d9742f6d91389447e 100644 |
--- a/fpdfsdk/formfiller/cba_fontmap.cpp |
+++ b/fpdfsdk/formfiller/cba_fontmap.cpp |
@@ -184,8 +184,7 @@ void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont, |
} |
CPDF_Dictionary* pStreamResFontList = pStreamResList->GetDictFor("Font"); |
if (!pStreamResFontList) { |
- pStreamResFontList = m_pDocument->NewIndirect<CPDF_Dictionary>( |
- m_pDocument->GetByteStringPool()); |
+ pStreamResFontList = m_pDocument->NewIndirect<CPDF_Dictionary>(); |
pStreamResList->SetReferenceFor("Font", m_pDocument, pStreamResFontList); |
} |
if (!pStreamResFontList->KeyExist(sAlias)) { |