summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fpdfdoc')
-rw-r--r--core/src/fpdfdoc/doc_ap.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/fpdfdoc/doc_ap.cpp b/core/src/fpdfdoc/doc_ap.cpp
index 0e2a75ad2c..ccc800aa1a 100644
--- a/core/src/fpdfdoc/doc_ap.cpp
+++ b/core/src/fpdfdoc/doc_ap.cpp
@@ -309,7 +309,6 @@ static FX_BOOL GenerateWidgetAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict
if (!pDefFont) {
return FALSE;
}
- CFX_CharMap* pCharMap = pDefFont->GetCharMap();
CPDF_Rect rcAnnot = pAnnotDict->GetRect("Rect");
FX_INT32 nRotate = 0;
if (CPDF_Dictionary * pMKDict = pAnnotDict->GetDict("MK")) {