diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp index 3b7a60c059..f44972568d 100644 --- a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp +++ b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp @@ -8,9 +8,8 @@ #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" -CPDF_ContentMarkItem::CPDF_ContentMarkItem() { - m_ParamType = None; -} +CPDF_ContentMarkItem::CPDF_ContentMarkItem() + : m_ParamType(None), m_pParam(nullptr) {} CPDF_ContentMarkItem::CPDF_ContentMarkItem(const CPDF_ContentMarkItem& src) { m_MarkName = src.m_MarkName; |