summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmparser.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-06 17:02:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-06 17:02:05 +0000
commitace80b32dab5c6eaa32cc2f23c4540a5313879a1 (patch)
tree1e002aadee24b34d5d16eb7234a8947276ce1cbe /xfa/fxfa/fm2js/cxfa_fmparser.cpp
parent4862705090a7469115ae7e3c80143b6f8b6b527a (diff)
downloadpdfium-ace80b32dab5c6eaa32cc2f23c4540a5313879a1.tar.xz
Fix typos in CXFA_FMParser.chromium/3391
Change-Id: I0059e2ec25e90162a241a49e5d7b327c80330a33 Reviewed-on: https://pdfium-review.googlesource.com/29890 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmparser.cpp')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmparser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmparser.cpp b/xfa/fxfa/fm2js/cxfa_fmparser.cpp
index dca427a20a..fb4a7f4cf9 100644
--- a/xfa/fxfa/fm2js/cxfa_fmparser.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmparser.cpp
@@ -400,7 +400,7 @@ CXFA_FMParser::ParseRelationalExpression() {
if (HasError() || !IncrementParseDepthAndCheck())
return nullptr;
- std::unique_ptr<CXFA_FMSimpleExpression> e1 = ParseAddtiveExpression();
+ std::unique_ptr<CXFA_FMSimpleExpression> e1 = ParseAdditiveExpression();
if (!e1)
return nullptr;
@@ -416,7 +416,7 @@ CXFA_FMParser::ParseRelationalExpression() {
if (!NextToken())
return nullptr;
- e2 = ParseAddtiveExpression();
+ e2 = ParseAdditiveExpression();
if (!e2)
return nullptr;
@@ -428,7 +428,7 @@ CXFA_FMParser::ParseRelationalExpression() {
if (!NextToken())
return nullptr;
- e2 = ParseAddtiveExpression();
+ e2 = ParseAdditiveExpression();
if (!e2)
return nullptr;
@@ -440,7 +440,7 @@ CXFA_FMParser::ParseRelationalExpression() {
if (!NextToken())
return nullptr;
- e2 = ParseAddtiveExpression();
+ e2 = ParseAdditiveExpression();
if (!e2)
return nullptr;
@@ -452,7 +452,7 @@ CXFA_FMParser::ParseRelationalExpression() {
if (!NextToken())
return nullptr;
- e2 = ParseAddtiveExpression();
+ e2 = ParseAdditiveExpression();
if (!e2)
return nullptr;
@@ -470,7 +470,7 @@ CXFA_FMParser::ParseRelationalExpression() {
// Additive := MultiplicativeExpression |
// AdditiveExpression AdditiveOperator MultiplicativeExpression
std::unique_ptr<CXFA_FMSimpleExpression>
-CXFA_FMParser::ParseAddtiveExpression() {
+CXFA_FMParser::ParseAdditiveExpression() {
AutoRestorer<unsigned long> restorer(&m_parse_depth);
if (HasError() || !IncrementParseDepthAndCheck())
return nullptr;