Index: core/fpdfdoc/cpdf_variabletext.cpp |
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp |
index a8b9c3c7783bf71c4ef00d0ecfbb83630624a357..1d5fde289dd06f29744e52071d6baa8515bd88b9 100644 |
--- a/core/fpdfdoc/cpdf_variabletext.cpp |
+++ b/core/fpdfdoc/cpdf_variabletext.cpp |
@@ -310,7 +310,7 @@ CPVT_WordPlace CPDF_VariableText::InsertWord(const CPVT_WordPlace& place, |
int32_t nFontIndex = |
GetSubWord() > 0 ? GetDefaultFontIndex() |
: GetWordFontIndex(word, charset, GetDefaultFontIndex()); |
- return AddWord(newplace, CPVT_WordInfo(word, charset, nFontIndex, NULL)); |
+ return AddWord(newplace, CPVT_WordInfo(word, charset, nFontIndex, nullptr)); |
} |
CPVT_WordPlace CPDF_VariableText::InsertSection( |