diff options
author | thestig <thestig@chromium.org> | 2016-05-23 17:54:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-23 17:54:02 -0700 |
commit | ded3634145b214b11212a7c53faa8ba15a1789ca (patch) | |
tree | fe715734e07dc73b3b63d9223d59e7a2799b557e /core/fpdfapi/fpdf_parser/include | |
parent | a2d699f1462050833f959ebcf24853c2a6a10f72 (diff) | |
download | pdfium-ded3634145b214b11212a7c53faa8ba15a1789ca.tar.xz |
Change CPDF_Boolean to use bool instead of FX_BOOL.
Review-Url: https://codereview.chromium.org/1999313002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include')
-rw-r--r-- | core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h b/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h index e3b7496da7..41cec0cda2 100644 --- a/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h +++ b/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h @@ -39,8 +39,7 @@ class CPDF_Dictionary : public CPDF_Object { CFX_WideString GetUnicodeTextBy(const CFX_ByteString& key) const; int GetIntegerBy(const CFX_ByteString& key) const; int GetIntegerBy(const CFX_ByteString& key, int default_int) const; - FX_BOOL GetBooleanBy(const CFX_ByteString& key, - FX_BOOL bDefault = FALSE) const; + bool GetBooleanBy(const CFX_ByteString& key, bool bDefault = false) const; FX_FLOAT GetNumberBy(const CFX_ByteString& key) const; CPDF_Dictionary* GetDictBy(const CFX_ByteString& key) const; CPDF_Stream* GetStreamBy(const CFX_ByteString& key) const; @@ -70,7 +69,7 @@ class CPDF_Dictionary : public CPDF_Object { } void SetAtRect(const CFX_ByteString& key, const CFX_FloatRect& rect); void SetAtMatrix(const CFX_ByteString& key, const CFX_Matrix& matrix); - void SetAtBoolean(const CFX_ByteString& key, FX_BOOL bValue); + void SetAtBoolean(const CFX_ByteString& key, bool bValue); void AddReference(const CFX_ByteString& key, CPDF_IndirectObjectHolder* pDoc, |