diff options
author | npm <npm@chromium.org> | 2016-10-05 13:43:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-05 13:43:25 -0700 |
commit | e883afcab15b17769bda0a1aac0f540568df3368 (patch) | |
tree | 6b86eded90bc816a985a9de87f7429e0f19ff38e /core/fpdfapi/parser/cpdf_document.cpp | |
parent | b69a98cf50537130f88ce3a799117f2ca8353ac5 (diff) | |
download | pdfium-e883afcab15b17769bda0a1aac0f540568df3368.tar.xz |
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
Diffstat (limited to 'core/fpdfapi/parser/cpdf_document.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |