Index: fpdfsdk/src/pdfwindow/PWL_FontMap.cpp |
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp |
index 8dff4eabac4b3b4f5c343d9f7e0120821ff89f69..84b8c94363c13d6e9a7d78414321990b2e5fdf8c 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) |