diff options
author | tsepez <tsepez@chromium.org> | 2016-06-06 10:51:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 10:51:58 -0700 |
commit | 48ddd86c45b437151d660758befbebec242d407d (patch) | |
tree | a61201d16145b605c3e3fbf5f951be6b5ff2db1a /xfa/fgas/font/fgas_font.h | |
parent | 884b4f942d510974e713361b84a717340eb928b9 (diff) | |
download | pdfium-48ddd86c45b437151d660758befbebec242d407d.tar.xz |
Make GetDevFont() return a CFX_Font* instead of void*
Then we can remove a bunch of casts.
Review-Url: https://codereview.chromium.org/2033243004
Diffstat (limited to 'xfa/fgas/font/fgas_font.h')
-rw-r--r-- | xfa/fgas/font/fgas_font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/fgas_font.h b/xfa/fgas/font/fgas_font.h index ea82ec1526..5d3a44092d 100644 --- a/xfa/fgas/font/fgas_font.h +++ b/xfa/fgas/font/fgas_font.h @@ -88,7 +88,7 @@ class IFGAS_Font { virtual int32_t GetItalicAngle() const = 0; virtual void Reset() = 0; virtual IFGAS_Font* GetSubstFont(int32_t iGlyphIndex) const = 0; - virtual void* GetDevFont() const = 0; + virtual CFX_Font* GetDevFont() const = 0; virtual void SetFontProvider(CXFA_PDFFontMgr* pProvider) = 0; #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ virtual void SetLogicalFontStyle(uint32_t dwLogFontStyle) = 0; |