diff options
author | tsepez <tsepez@chromium.org> | 2016-06-08 14:17:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-08 14:17:24 -0700 |
commit | 6aac8a822ef227b80173f23ea3169b28a6712bba (patch) | |
tree | cbc58444ac269f977e935740aee2dafab9c9c6ee /core/fpdfapi/fpdf_font/include | |
parent | c1835615f386d8e6e30df89b6517ebf605335a0e (diff) | |
download | pdfium-6aac8a822ef227b80173f23ea3169b28a6712bba.tar.xz |
Remove even more const casting from core.
Make the return types/arguments match reality.
Review-Url: https://codereview.chromium.org/2053483002
Diffstat (limited to 'core/fpdfapi/fpdf_font/include')
-rw-r--r-- | core/fpdfapi/fpdf_font/include/cpdf_font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/include/cpdf_font.h b/core/fpdfapi/fpdf_font/include/cpdf_font.h index 31badd2656..548283ee79 100644 --- a/core/fpdfapi/fpdf_font/include/cpdf_font.h +++ b/core/fpdfapi/fpdf_font/include/cpdf_font.h @@ -71,7 +71,7 @@ class CPDF_Font { virtual uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const; const CFX_ByteString& GetBaseFont() const { return m_BaseFont; } - const CFX_SubstFont* GetSubstFont() const { return m_Font.GetSubstFont(); } + CFX_SubstFont* GetSubstFont() const { return m_Font.GetSubstFont(); } uint32_t GetFlags() const { return m_Flags; } FX_BOOL IsEmbedded() const { return IsType3Font() || m_pFontFile != nullptr; } CPDF_StreamAcc* GetFontFile() const { return m_pFontFile; } |