summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmlexer.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-20 21:57:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-20 21:57:59 +0000
commit676658cfccf3f8cf820dfa63a7b6e2f9a76c2e18 (patch)
tree0ce81b0a8d51a6ec8e1dfce2c5119c7fcb73049f /xfa/fxfa/fm2js/cxfa_fmlexer.h
parent4102f7b86e415b2a254521a1fc52e11bdc932864 (diff)
downloadpdfium-676658cfccf3f8cf820dfa63a7b6e2f9a76c2e18.tar.xz
[formcalc] Remove unused line parameter
The recorded line number from the formcalc parse is never used. This Cl removes the parameter and removes the need to pass it through all of the constructors. Change-Id: Ice716cc4880dd17dc05bffcdce1dc1e4745108ea Reviewed-on: https://pdfium-review.googlesource.com/27412 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmlexer.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmlexer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmlexer.h b/xfa/fxfa/fm2js/cxfa_fmlexer.h
index eb9e45e180..c0156f72f7 100644
--- a/xfa/fxfa/fm2js/cxfa_fmlexer.h
+++ b/xfa/fxfa/fm2js/cxfa_fmlexer.h
@@ -110,8 +110,6 @@ class CXFA_FMLexer {
CXFA_FMToken NextToken();
- uint32_t GetCurrentLine() const { return m_current_line; }
- void SetCurrentLine(uint32_t line) { m_current_line = line; }
const wchar_t* GetPos() { return m_cursor; }
void SetPos(const wchar_t* pos) { m_cursor = pos; }
@@ -125,7 +123,6 @@ class CXFA_FMLexer {
const wchar_t* m_cursor;
const wchar_t* const m_end;
- uint32_t m_current_line;
bool m_lexer_error;
};