diff options
Diffstat (limited to 'fpdfsdk/pwl/cpwl_font_map.cpp')
-rw-r--r-- | fpdfsdk/pwl/cpwl_font_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_font_map.cpp b/fpdfsdk/pwl/cpwl_font_map.cpp index f60e7d2fb1..47365f8f42 100644 --- a/fpdfsdk/pwl/cpwl_font_map.cpp +++ b/fpdfsdk/pwl/cpwl_font_map.cpp @@ -50,7 +50,7 @@ CPWL_FontMap::~CPWL_FontMap() { CPDF_Document* CPWL_FontMap::GetDocument() { if (!m_pPDFDoc) { if (CPDF_ModuleMgr::Get()) { - m_pPDFDoc = pdfium::MakeUnique<CPDF_Document>(nullptr); + m_pPDFDoc = pdfium::MakeUnique<CPDF_Document>(); m_pPDFDoc->CreateNewDoc(); } } |