Index: fpdfsdk/src/pdfwindow/PWL_FontMap.cpp |
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp |
index 943e4979b2865becfb600768be1c62fc74fd9284..1f20d12acaa2726eed482fa3294dae07a7f347a0 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) |