From e883afcab15b17769bda0a1aac0f540568df3368 Mon Sep 17 00:00:00 2001 From: npm Date: Wed, 5 Oct 2016 13:43:25 -0700 Subject: Removed unused stuff, some FX_BOOL, and cleanup pageint.h a bit - Remove some unused stuff from pageint.h. - Replace some FX_BOOL with bool in pageint.h, and related. - Replace some "protected" with "private" in pageint.h. - Move 2 methods into namespace in fpdf_page_parser_old.cpp. Review-Url: https://codereview.chromium.org/2399573002 --- core/fpdfapi/page/cpdf_textstate.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/fpdfapi/page/cpdf_textstate.cpp') diff --git a/core/fpdfapi/page/cpdf_textstate.cpp b/core/fpdfapi/page/cpdf_textstate.cpp index 85ca9e21ec..6fc8ed29cc 100644 --- a/core/fpdfapi/page/cpdf_textstate.cpp +++ b/core/fpdfapi/page/cpdf_textstate.cpp @@ -116,8 +116,7 @@ CPDF_TextState::TextData::TextData(const TextData& that) m_CTM[i] = that.m_CTM[i]; if (m_pDocument && m_pFont) { - m_pFont = - m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict(), FALSE); + m_pFont = m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict()); } } -- cgit v1.2.3