diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-08 17:25:42 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-08 17:25:42 -0700 |
commit | bf6c2a4873f8cc12ad910fb904218a78087a3735 (patch) | |
tree | 80a54fa87004f3aa065c451f1fb830734b3a6d2d /fpdfsdk/src/fpdfsave.cpp | |
parent | 2a824f1c0ed786aed0dd15a0ea60dc90999e2b2c (diff) | |
download | pdfium-bf6c2a4873f8cc12ad910fb904218a78087a3735.tar.xz |
Remove more cruft from fx_system.h
- include system headers first and alphabetize.
- remove unsupported FX_WIN32_MOBILE symbol.
- actually define a FX_WIN64 symbol and make consistent.
- use final/override, not FX_FINAL.
- let stdint.h resolve FX_WORDSIZE concerns.
- unused FX_ERR and FX_SUCCESS() macros.
- unused FX_LSB_FIRST macro.
- outline FX type deprecation plan.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1169963003
Diffstat (limited to 'fpdfsdk/src/fpdfsave.cpp')
-rw-r--r-- | fpdfsdk/src/fpdfsave.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/fpdfsave.cpp b/fpdfsdk/src/fpdfsave.cpp index 68b9b4c933..4a83345242 100644 --- a/fpdfsdk/src/fpdfsave.cpp +++ b/fpdfsdk/src/fpdfsave.cpp @@ -14,14 +14,14 @@ #include <ctime> #endif -class CFX_IFileWrite FX_FINAL : public IFX_StreamWrite +class CFX_IFileWrite final : public IFX_StreamWrite { public: CFX_IFileWrite(); FX_BOOL Init( FPDF_FILEWRITE * pFileWriteStruct ); - virtual FX_BOOL WriteBlock(const void* pData, size_t size) FX_OVERRIDE; - virtual void Release() FX_OVERRIDE {} + virtual FX_BOOL WriteBlock(const void* pData, size_t size) override; + virtual void Release() override {} protected: FPDF_FILEWRITE* m_pFileWriteStruct; |