diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-23 15:19:44 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-23 19:54:44 +0000 |
commit | 25d2ad482399ec20fdd0542d7c286ed06842f053 (patch) | |
tree | 01ff413c765c1e30b123e5a88681eb6f1f92aab9 /xfa/fxfa/parser/xfa_locale.h | |
parent | cd933f8633e95e1a6e6a885d30447835ca664f69 (diff) | |
download | pdfium-25d2ad482399ec20fdd0542d7c286ed06842f053.tar.xz |
Tighten up XFA Visibility
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 <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_locale.h')
-rw-r--r-- | xfa/fxfa/parser/xfa_locale.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/xfa_locale.h b/xfa/fxfa/parser/xfa_locale.h index 5326f513c1..ae3e4bd170 100644 --- a/xfa/fxfa/parser/xfa_locale.h +++ b/xfa/fxfa/parser/xfa_locale.h @@ -41,7 +41,7 @@ class CXFA_XMLLocale : public IFX_Locale { void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, CFX_WideString& wsPattern) const override; - protected: + private: void GetPattern(CXML_Element* pElement, const CFX_ByteStringC& bsTag, const CFX_WideStringC& wsName, @@ -50,7 +50,6 @@ class CXFA_XMLLocale : public IFX_Locale { int index, bool bAbbr) const; - private: std::unique_ptr<CXML_Element> m_pLocaleData; }; @@ -83,7 +82,7 @@ class CXFA_NodeLocale : public IFX_Locale { void GetNumPattern(FX_LOCALENUMSUBCATEGORY eType, CFX_WideString& wsPattern) const override; - protected: + private: CXFA_Node* GetNodeByName(CXFA_Node* pParent, const CFX_WideStringC& wsName) const; CFX_WideString GetSymbol(XFA_Element eElement, |