Index: fpdfsdk/javascript/Annot.cpp |
diff --git a/fpdfsdk/javascript/Annot.cpp b/fpdfsdk/javascript/Annot.cpp |
index 99452171987959243c07d3df96845356e9c33841..a23d42f72abb48a902ae9c9eb3cfc1ae4c4ed28e 100644 |
--- a/fpdfsdk/javascript/Annot.cpp |
+++ b/fpdfsdk/javascript/Annot.cpp |
@@ -80,7 +80,7 @@ FX_BOOL Annot::type(IJS_Context* cc, |
return FALSE; |
} |
- vp << m_BAAnnot->GetAnnotSubtype(); |
+ vp << CPDF_Annot::AnnotSubtypeToString(m_BAAnnot->GetAnnotSubtype()); |
return TRUE; |
} |