OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "../../../include/fpdfapi/fpdf_page.h" | 7 #include "../../../include/fpdfapi/fpdf_page.h" |
8 #include "../../../include/fpdfapi/fpdf_module.h" | 8 #include "../../../include/fpdfapi/fpdf_module.h" |
9 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 9 #include "../../../include/fpdfapi/fpdf_pageobj.h" |
10 #include "font_int.h" | 10 #include "font_int.h" |
(...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 } | 1737 } |
1738 CPDF_Type3Char::CPDF_Type3Char() | 1738 CPDF_Type3Char::CPDF_Type3Char() |
1739 { | 1739 { |
1740 m_pForm = NULL; | 1740 m_pForm = NULL; |
1741 m_pBitmap = NULL; | 1741 m_pBitmap = NULL; |
1742 m_bPageRequired = FALSE; | 1742 m_bPageRequired = FALSE; |
1743 m_bColored = FALSE; | 1743 m_bColored = FALSE; |
1744 } | 1744 } |
1745 CPDF_Type3Char::~CPDF_Type3Char() | 1745 CPDF_Type3Char::~CPDF_Type3Char() |
1746 { | 1746 { |
1747 if (m_pForm) { | 1747 delete m_pForm; |
1748 delete m_pForm; | 1748 delete m_pBitmap; |
1749 } | |
1750 if (m_pBitmap) { | |
1751 delete m_pBitmap; | |
1752 } | |
1753 } | 1749 } |
OLD | NEW |