summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/fpdfdoc/doc_form.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp
index 93d4fcb9f4..241609efbc 100644
--- a/core/src/fpdfdoc/doc_form.cpp
+++ b/core/src/fpdfdoc/doc_form.cpp
@@ -517,7 +517,7 @@ CPDF_Font* CPDF_InterForm::AddNativeFont(uint8_t charSet,
CFX_ByteString csFontName = GetNativeFont(charSet, &lf);
if (!csFontName.IsEmpty()) {
if (csFontName == "Helvetica")
- return pFont = AddStandardFont(pDocument, csFontName);
+ return AddStandardFont(pDocument, csFontName);
return pDocument->AddWindowsFont(&lf, FALSE, TRUE);
}
#endif