diff options
Diffstat (limited to 'fpdfsdk/src/pdfwindow')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_FontMap.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp index 8dff4eabac..84b8c94363 100644 --- a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp @@ -21,13 +21,10 @@ CPWL_FontMap::CPWL_FontMap(IFX_SystemHandler* pSystemHandler) : CPWL_FontMap::~CPWL_FontMap() { - if (m_pPDFDoc) - { - delete m_pPDFDoc; - m_pPDFDoc = NULL; - } + delete m_pPDFDoc; + m_pPDFDoc = NULL; - Empty(); + Empty(); } void CPWL_FontMap::SetSystemHandler(IFX_SystemHandler* pSystemHandler) |