Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp |
index d0154d118edaeb2f827e48d8d0b8331e5477e79a..f36313e1dcee2726d29ac2f2d1cb7439ebffc990 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp |
@@ -46,15 +46,15 @@ void CFDF_Document::ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
CPDF_SyntaxParser parser; |
parser.InitParser(m_pFile, 0); |
while (1) { |
- FX_BOOL bNumber; |
- CFX_ByteString word = parser.GetNextWord(bNumber); |
+ bool bNumber; |
+ CFX_ByteString word = parser.GetNextWord(&bNumber); |
if (bNumber) { |
FX_DWORD objnum = FXSYS_atoi(word); |
- word = parser.GetNextWord(bNumber); |
+ word = parser.GetNextWord(&bNumber); |
if (!bNumber) { |
break; |
} |
- word = parser.GetNextWord(bNumber); |
+ word = parser.GetNextWord(nullptr); |
if (word != "obj") { |
break; |
} |
@@ -63,7 +63,7 @@ void CFDF_Document::ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
break; |
} |
InsertIndirectObject(objnum, pObj); |
- word = parser.GetNextWord(bNumber); |
+ word = parser.GetNextWord(nullptr); |
if (word != "endobj") { |
break; |
} |