diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-02 09:10:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-02 13:32:00 +0000 |
commit | 59dfc62e56ec5dd88e5445e13467e0e1a3f1690f (patch) | |
tree | 9980509b79377dfb225ee32d4d3e98d27e14c639 /core/fpdfapi | |
parent | a5c32a120ae918ecebab4042b3e52278f7a24b51 (diff) | |
download | pdfium-59dfc62e56ec5dd88e5445e13467e0e1a3f1690f.tar.xz |
Removing unused defines
Remove unused defines.
Change-Id: Ibf10d8470f19cbf4528fe1342398a39ef15c1d12
Reviewed-on: https://pdfium-review.googlesource.com/15110
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/font/cpdf_fontencoding.h | 1 | ||||
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/core/fpdfapi/font/cpdf_fontencoding.h b/core/fpdfapi/font/cpdf_fontencoding.h index cb99975b98..040708f554 100644 --- a/core/fpdfapi/font/cpdf_fontencoding.h +++ b/core/fpdfapi/font/cpdf_fontencoding.h @@ -22,7 +22,6 @@ #define PDFFONT_ENCODING_ZAPFDINGBATS 6 #define PDFFONT_ENCODING_PDFDOC 7 #define PDFFONT_ENCODING_MS_SYMBOL 8 -#define PDFFONT_ENCODING_UNICODE 9 uint32_t FT_CharCodeFromUnicode(int encoding, wchar_t unicode); wchar_t FT_UnicodeFromCharCode(int encoding, uint32_t charcode); diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h index ab82c4a96a..d73dbc1df9 100644 --- a/core/fpdfapi/parser/cpdf_document.h +++ b/core/fpdfapi/parser/cpdf_document.h @@ -32,14 +32,11 @@ class CPDF_Pattern; class CPDF_StreamAcc; class JBig2_DocumentContext; -#define FPDFPERM_PRINT 0x0004 #define FPDFPERM_MODIFY 0x0008 -#define FPDFPERM_EXTRACT 0x0010 #define FPDFPERM_ANNOT_FORM 0x0020 #define FPDFPERM_FILL_FORM 0x0100 #define FPDFPERM_EXTRACT_ACCESS 0x0200 -#define FPDFPERM_ASSEMBLE 0x0400 -#define FPDFPERM_PRINT_HIGH 0x0800 + #define FPDF_PAGE_MAX_NUM 0xFFFFF class CPDF_Document : public CPDF_IndirectObjectHolder { |