Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1405)

Unified Diff: core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h

Issue 1999313002: Change CPDF_Boolean to use bool instead of FX_BOOL. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@interform
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp ('k') | core/fpdfdoc/doc_action.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h b/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h
index e3b7496da7ad9bc588af2cec8d6b05c816386494..41cec0cda2a7f662d92c88375506c957f40b4c46 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,
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp ('k') | core/fpdfdoc/doc_action.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698