Index: fpdfsdk/formfiller/cba_fontmap.cpp |
diff --git a/fpdfsdk/formfiller/cba_fontmap.cpp b/fpdfsdk/formfiller/cba_fontmap.cpp |
index 519c7d8cef5d9d2fbc702176eab1c8d912b41e4f..caa0704955abbc2994b7a29b231757b43a1a0388 100644 |
--- a/fpdfsdk/formfiller/cba_fontmap.cpp |
+++ b/fpdfsdk/formfiller/cba_fontmap.cpp |
@@ -206,8 +206,8 @@ CPDF_Font* CBA_FontMap::GetAnnotDefaultFont(CFX_ByteString& sAlias) { |
} |
CFX_ByteString sDA; |
- CPDF_Object* pObj; |
- if ((pObj = FPDF_GetFieldAttr(m_pAnnotDict, "DA"))) |
+ CPDF_Object* pObj = FPDF_GetFieldAttr(m_pAnnotDict, "DA"); |
+ if (pObj) |
sDA = pObj->GetString(); |
if (bWidget) { |