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/parser/cpdf_document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/parser/cpdf_document.cpp') diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp index 435f180454..0e688c685b 100644 --- a/core/fpdfapi/parser/cpdf_document.cpp +++ b/core/fpdfapi/parser/cpdf_document.cpp @@ -659,7 +659,7 @@ uint32_t CPDF_Document::GetUserPermissions() const { CPDF_Font* CPDF_Document::LoadFont(CPDF_Dictionary* pFontDict) { ASSERT(pFontDict); - return m_pDocPage->GetFont(pFontDict, FALSE); + return m_pDocPage->GetFont(pFontDict); } CPDF_StreamAcc* CPDF_Document::LoadFontFile(CPDF_Stream* pStream) { @@ -672,7 +672,7 @@ CPDF_ColorSpace* CPDF_Document::LoadColorSpace(CPDF_Object* pCSObj, } CPDF_Pattern* CPDF_Document::LoadPattern(CPDF_Object* pPatternObj, - FX_BOOL bShading, + bool bShading, const CFX_Matrix& matrix) { return m_pDocPage->GetPattern(pPatternObj, bShading, matrix); } -- cgit v1.2.3