Index: xfa/fgas/font/fgas_gefont.h |
diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h |
index 835fe2c11a2423484a143b70b496c007116c3508..c818b6286d934040ac37719d7fa4a2702d545948 100644 |
--- a/xfa/fgas/font/fgas_gefont.h |
+++ b/xfa/fgas/font/fgas_gefont.h |
@@ -49,7 +49,7 @@ class CFGAS_GEFont : public IFGAS_Font { |
virtual int32_t GetItalicAngle() const; |
virtual void Reset(); |
virtual IFGAS_Font* GetSubstFont(int32_t iGlyphIndex) const; |
- virtual void* GetDevFont() const { return (void*)m_pFont; } |
+ virtual CFX_Font* GetDevFont() const { return m_pFont; } |
virtual void SetFontProvider(CXFA_PDFFontMgr* pProvider) { |
m_pProvider = pProvider; |
} |