Index: core/fpdfdoc/cpdf_annot.cpp |
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp |
index a8578fc28d966461c5d063384af1da010aad0a65..77c117dae4a76c347d7de8ea4cf402c0d67e78b0 100644 |
--- a/core/fpdfdoc/cpdf_annot.cpp |
+++ b/core/fpdfdoc/cpdf_annot.cpp |
@@ -22,6 +22,8 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument) |
m_sSubtype(m_pAnnotDict->GetStringBy("Subtype")) { |
if (m_sSubtype == "Highlight") |
CPVT_GenerateAP::GenerateHighlightAP(m_pDocument, m_pAnnotDict); |
+ else if (m_sSubtype == "Underline") |
+ CPVT_GenerateAP::GenerateUnderlineAP(m_pDocument, m_pAnnotDict); |
} |
CPDF_Annot::~CPDF_Annot() { |