diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-06 17:02:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-06 17:02:05 +0000 |
commit | ace80b32dab5c6eaa32cc2f23c4540a5313879a1 (patch) | |
tree | 1e002aadee24b34d5d16eb7234a8947276ce1cbe /xfa/fxfa | |
parent | 4862705090a7469115ae7e3c80143b6f8b6b527a (diff) | |
download | pdfium-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')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmparser.cpp | 12 | ||||
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmparser.h | 2 |
2 files changed, 7 insertions, 7 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; diff --git a/xfa/fxfa/fm2js/cxfa_fmparser.h b/xfa/fxfa/fm2js/cxfa_fmparser.h index 2f72871c02..30fd60fd71 100644 --- a/xfa/fxfa/fm2js/cxfa_fmparser.h +++ b/xfa/fxfa/fm2js/cxfa_fmparser.h @@ -46,7 +46,7 @@ class CXFA_FMParser { std::unique_ptr<CXFA_FMSimpleExpression> ParseLogicalAndExpression(); std::unique_ptr<CXFA_FMSimpleExpression> ParseEqualityExpression(); std::unique_ptr<CXFA_FMSimpleExpression> ParseRelationalExpression(); - std::unique_ptr<CXFA_FMSimpleExpression> ParseAddtiveExpression(); + std::unique_ptr<CXFA_FMSimpleExpression> ParseAdditiveExpression(); std::unique_ptr<CXFA_FMSimpleExpression> ParseMultiplicativeExpression(); std::unique_ptr<CXFA_FMSimpleExpression> ParseUnaryExpression(); std::unique_ptr<CXFA_FMSimpleExpression> ParsePrimaryExpression(); |