diff options
author | tsepez <tsepez@chromium.org> | 2016-06-09 11:46:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 11:46:16 -0700 |
commit | 20d6b76d82a762e75e8c2a89976f93acd9af7467 (patch) | |
tree | 9142c0179606d9909158678559e0adcac8b9991f /xfa/fgas | |
parent | e64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (diff) | |
download | pdfium-20d6b76d82a762e75e8c2a89976f93acd9af7467.tar.xz |
Use static_cast<CXFA_WidgetAcc*> in xfa.
Remove a few other unused casts, simplify.
Review-Url: https://codereview.chromium.org/2052593003
Diffstat (limited to 'xfa/fgas')
-rw-r--r-- | xfa/fgas/font/fgas_stdfontmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/fgas_stdfontmgr.cpp b/xfa/fgas/font/fgas_stdfontmgr.cpp index 4e5095048b..c6c1b19ef7 100644 --- a/xfa/fgas/font/fgas_stdfontmgr.cpp +++ b/xfa/fgas/font/fgas_stdfontmgr.cpp @@ -530,7 +530,7 @@ IFX_FileAccess* CFX_FontSourceEnum_File::GetNext(FX_POSITION& pos) { IFX_FileAccess* pAccess = FX_CreateDefaultFileAccess(m_wsNext.AsStringC()); m_wsNext = GetNextFile().UTF8Decode(); pos = 0 != m_wsNext.GetLength() ? pAccess : NULL; - return (IFX_FileAccess*)pAccess; + return pAccess; } IFGAS_FontMgr* IFGAS_FontMgr::Create(CFX_FontSourceEnum_File* pFontEnum) { |