diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2015-11-10 18:49:04 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2015-11-10 18:49:04 +0800 |
commit | b553bcb6a8e69de61f3b4abd257ee3161aa752c6 (patch) | |
tree | df44ee1eb304f45b8f5480e42bd6af2bc65615a3 /core | |
parent | df7f3663364fd4d6148d658c5bdb98ab2532fb8d (diff) | |
download | pdfium-b553bcb6a8e69de61f3b4abd257ee3161aa752c6.tar.xz |
Merge to XFA: Use standard true and false to replace 'TRUE' and 'FALSE' in pdfium_test
BUG=446715
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1410073009 .
Review URL: https://codereview.chromium.org/1413103007 .
Diffstat (limited to 'core')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp | 2 | ||||
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/parser_int.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp index 5ba7cbe87e..58420ffcfc 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp @@ -4682,7 +4682,7 @@ FX_BOOL CPDF_HintTables::ReadPageHintTable(CFX_BitStream* hStream) { // where in the page's content stream the object is first referenced. FX_DWORD dwSharedNumeratorBits = hStream->GetBits(16); // Item 13: Skip Item 13 which has 16 bits. - FX_DWORD dwSharedDenominator = hStream->GetBits(16); + hStream->SkipBits(16); CPDF_Object* pPageNum = m_pLinearizedDict->GetElementValue(FX_BSTRC("N")); int nPages = pPageNum ? pPageNum->GetInteger() : 0; if (nPages < 1) diff --git a/core/src/fpdfapi/fpdf_parser/parser_int.h b/core/src/fpdfapi/fpdf_parser/parser_int.h index a9d5874f75..5e4dffa8b7 100644 --- a/core/src/fpdfapi/fpdf_parser/parser_int.h +++ b/core/src/fpdfapi/fpdf_parser/parser_int.h @@ -13,7 +13,6 @@ class CPDF_HintTables { public: CPDF_HintTables(CPDF_DataAvail* pDataAvail, CPDF_Dictionary* pLinearized) : m_pLinearizedDict(pLinearized), - m_pHintStream(nullptr), m_pDataAvail(pDataAvail), m_nFirstPageSharedObjs(0), m_szFirstPageObjOffset(0) {} @@ -35,7 +34,6 @@ class CPDF_HintTables { int ReadPrimaryHintStreamLength() const; CPDF_Dictionary* m_pLinearizedDict; - CPDF_Stream* m_pHintStream; CPDF_DataAvail* m_pDataAvail; FX_DWORD m_nFirstPageSharedObjs; FX_FILESIZE m_szFirstPageObjOffset; |