summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/cpdf_type1font.cpp
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-28 11:06:53 -0700
committerWei Li <weili@chromium.org>2016-03-28 11:06:53 -0700
commit4678e283c5b48a8954bd0db3565b1376bd9c6b27 (patch)
tree3ff1e840c53fe0df30dd3462957a016995af38dc /core/fpdfapi/fpdf_font/cpdf_type1font.cpp
parent8940993efffaaf432320509555dc61122b8b72b2 (diff)
downloadpdfium-4678e283c5b48a8954bd0db3565b1376bd9c6b27.tar.xz
Cleanup one mac header
Remove unimplemented/unused class, and other cleanup R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1834063002 .
Diffstat (limited to 'core/fpdfapi/fpdf_font/cpdf_type1font.cpp')
-rw-r--r--core/fpdfapi/fpdf_font/cpdf_type1font.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/cpdf_type1font.cpp b/core/fpdfapi/fpdf_font/cpdf_type1font.cpp
index b2f3ec898b..5119624611 100644
--- a/core/fpdfapi/fpdf_font/cpdf_type1font.cpp
+++ b/core/fpdfapi/fpdf_font/cpdf_type1font.cpp
@@ -120,7 +120,8 @@ void CPDF_Type1Font::LoadGlyphMap() {
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
FX_BOOL bCoreText = TRUE;
CQuartz2D& quartz2d =
- ((CApplePlatform*)CFX_GEModule::Get()->GetPlatformData())->_quartz2d;
+ static_cast<CApplePlatform*>(CFX_GEModule::Get()->GetPlatformData())
+ ->m_quartz2d;
if (!m_Font.GetPlatformFont()) {
if (m_Font.GetPsName() == CFX_WideString::FromLocal("DFHeiStd-W5")) {
bCoreText = FALSE;