summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_localemgr.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-16 16:55:43 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-16 21:55:57 +0000
commit939121f33f9bb02c207094b5b3e78e69be992b84 (patch)
treed42477d9ded35bb5ad3d751a61bab644f83c73e2 /xfa/fxfa/parser/xfa_localemgr.h
parent79e548eb98caefd3ea0f0e4806a7abca6654e7dc (diff)
downloadpdfium-939121f33f9bb02c207094b5b3e78e69be992b84.tar.xz
Cleanup some fgas locale code.
This Cl cleans up a bit of the locale code in fgas, removing unused code and cleaning up some of the other code. Change-Id: Ieb18df552cf5d803c1bbdbfe11a4f5a88c4b3af3 Reviewed-on: https://pdfium-review.googlesource.com/3094 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_localemgr.h')
-rw-r--r--xfa/fxfa/parser/xfa_localemgr.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/xfa_localemgr.h b/xfa/fxfa/parser/xfa_localemgr.h
index eb405dcfc7..3336d713e0 100644
--- a/xfa/fxfa/parser/xfa_localemgr.h
+++ b/xfa/fxfa/parser/xfa_localemgr.h
@@ -33,21 +33,20 @@ class IFX_Locale;
#define XFA_LANGID_nl_NL 0x0413
#define XFA_LANGID_ru_RU 0x0419
-class CXFA_LocaleMgr : public IFX_LocaleMgr {
+class CXFA_LocaleMgr {
public:
CXFA_LocaleMgr(CXFA_Node* pLocaleSet, CFX_WideString wsDeflcid);
- ~CXFA_LocaleMgr() override;
+ ~CXFA_LocaleMgr();
- // IFX_LocaleMgr
- uint16_t GetDefLocaleID() const override;
- IFX_Locale* GetDefLocale() override;
- IFX_Locale* GetLocaleByName(const CFX_WideString& wsLocaleName) override;
+ uint16_t GetDefLocaleID() const;
+ IFX_Locale* GetDefLocale();
+ IFX_Locale* GetLocaleByName(const CFX_WideString& wsLocaleName);
void SetDefLocale(IFX_Locale* pLocale);
CFX_WideStringC GetConfigLocaleName(CXFA_Node* pConfig);
- protected:
- std::unique_ptr<IFX_Locale> GetLocale(uint16_t lcid) override;
+ private:
+ std::unique_ptr<IFX_Locale> GetLocale(uint16_t lcid);
std::vector<std::unique_ptr<IFX_Locale>> m_LocaleArray;
std::vector<std::unique_ptr<IFX_Locale>> m_XMLLocaleArray;