From 676658cfccf3f8cf820dfa63a7b6e2f9a76c2e18 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 20 Feb 2018 21:57:59 +0000 Subject: [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 Commit-Queue: dsinclair --- xfa/fxfa/fm2js/cxfa_fmlexer.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'xfa/fxfa/fm2js/cxfa_fmlexer.h') 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; }; -- cgit v1.2.3