From 25d2ad482399ec20fdd0542d7c286ed06842f053 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 23 Mar 2017 15:19:44 -0400 Subject: Tighten up XFA Visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Cl changes the protected sections to be private where possible in XFA. Change-Id: Ibeb6ad00389686b666b1c3c5e136b9eefe35ec9e Reviewed-on: https://pdfium-review.googlesource.com/3164 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- xfa/fxfa/fm2js/xfa_expression.h | 2 +- xfa/fxfa/fm2js/xfa_lexer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fxfa/fm2js') diff --git a/xfa/fxfa/fm2js/xfa_expression.h b/xfa/fxfa/fm2js/xfa_expression.h index 6b55ea5815..9177c305d2 100644 --- a/xfa/fxfa/fm2js/xfa_expression.h +++ b/xfa/fxfa/fm2js/xfa_expression.h @@ -33,7 +33,7 @@ class CXFA_FMExpression { uint32_t GetLine() { return m_line; } XFA_FM_EXPTYPE GetExpType() const { return m_type; } - protected: + private: XFA_FM_EXPTYPE m_type; uint32_t m_line; }; diff --git a/xfa/fxfa/fm2js/xfa_lexer.h b/xfa/fxfa/fm2js/xfa_lexer.h index aa7904cfb3..860c50f30a 100644 --- a/xfa/fxfa/fm2js/xfa_lexer.h +++ b/xfa/fxfa/fm2js/xfa_lexer.h @@ -122,7 +122,7 @@ class CXFA_FMLexer { void Error(const wchar_t* msg, ...); bool HasError() const; - protected: + private: CXFA_FMToken* Scan(); const wchar_t* m_ptr; -- cgit v1.2.3