summaryrefslogtreecommitdiff
path: root/xfa/fgas/localization/fgas_localemgr.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-13 17:21:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-13 17:21:31 -0700
commitafe94306e3c542f0d499e7f7706ee5dec4028d8a (patch)
tree5012c9356cf1af259c74da3008dc7fcad439db2a /xfa/fgas/localization/fgas_localemgr.h
parent01e624fb699af3a8ee2f81620d59d366dac18f29 (diff)
downloadpdfium-afe94306e3c542f0d499e7f7706ee5dec4028d8a.tar.xz
Make CFX_WideString(const CFX_WideString&) explicit.
BUG= Review-Url: https://codereview.chromium.org/1979723003
Diffstat (limited to 'xfa/fgas/localization/fgas_localemgr.h')
-rw-r--r--xfa/fgas/localization/fgas_localemgr.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/xfa/fgas/localization/fgas_localemgr.h b/xfa/fgas/localization/fgas_localemgr.h
index 5f2647071b..d0ba90c9a8 100644
--- a/xfa/fgas/localization/fgas_localemgr.h
+++ b/xfa/fgas/localization/fgas_localemgr.h
@@ -12,15 +12,17 @@
class CFX_LocaleMgr : public IFX_LocaleMgr {
public:
CFX_LocaleMgr(uint16_t wDefLCID);
- virtual void Release() { delete this; }
- virtual uint16_t GetDefLocaleID();
- virtual IFX_Locale* GetDefLocale();
- virtual IFX_Locale* GetLocale(uint16_t lcid);
- virtual IFX_Locale* GetLocaleByName(const CFX_WideStringC& wsLocaleName);
+
+ void Release() override { delete this; }
+ uint16_t GetDefLocaleID() override;
+ IFX_Locale* GetDefLocale() override;
+ IFX_Locale* GetLocale(uint16_t lcid) override;
+ IFX_Locale* GetLocaleByName(const CFX_WideString& wsLocaleName) override;
+
CFX_MapPtrToPtr m_lcid2xml;
protected:
- ~CFX_LocaleMgr();
+ ~CFX_LocaleMgr() override;
CFX_MapPtrToPtr m_lcid2locale;
uint16_t m_wDefLCID;
};