Index: core/fpdfdoc/cpdf_annot.cpp |
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp |
index 7396aa255875528568cabb7264f1eab341f5bbb3..a269167cacd216a7bf1bae33c015a992d59a60ff 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 == "Square") |
+ CPVT_GenerateAP::GenerateSquareAP(m_pDocument, m_pAnnotDict); |
else if (m_sSubtype == "Squiggly") |
CPVT_GenerateAP::GenerateSquigglyAP(m_pDocument, m_pAnnotDict); |
else if (m_sSubtype == "StrikeOut") |