diff options
author | tsepez <tsepez@chromium.org> | 2016-05-20 14:32:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-20 14:32:38 -0700 |
commit | bc34be4dbb7b11252a48110f89c46ccb01929d64 (patch) | |
tree | 3154b7f43a5fd13ab38bb82298d1627306c400d0 /xfa/fgas/font/fgas_gefont.h | |
parent | 24ca59ca1b1475ffdcb9e6202a907627ca24076f (diff) | |
download | pdfium-bc34be4dbb7b11252a48110f89c46ccb01929d64.tar.xz |
Use std::map for CFX_GEFont::m_FontMapper
Review-Url: https://codereview.chromium.org/2002673002
Diffstat (limited to 'xfa/fgas/font/fgas_gefont.h')
-rw-r--r-- | xfa/fgas/font/fgas_gefont.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h index 8595782dc3..aa072280d5 100644 --- a/xfa/fgas/font/fgas_gefont.h +++ b/xfa/fgas/font/fgas_gefont.h @@ -7,6 +7,8 @@ #ifndef XFA_FGAS_FONT_FGAS_GEFONT_H_ #define XFA_FGAS_FONT_FGAS_GEFONT_H_ +#include <map> + #include "xfa/fgas/crt/fgas_utils.h" #include "xfa/fgas/font/fgas_font.h" @@ -75,7 +77,7 @@ class CFX_GEFont : public IFX_Font { CXFA_PDFFontMgr* m_pProvider; uint16_t m_wCharSet; CFX_ArrayTemplate<IFX_Font*> m_SubstFonts; - CFX_MapPtrToPtr m_FontMapper; + std::map<FX_WCHAR, IFX_Font*> m_FontMapper; FX_BOOL InitFont(); FX_BOOL GetCharBBox(FX_WCHAR wUnicode, CFX_Rect& bbox, |