diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-05 10:00:59 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-05 10:00:59 -0700 |
commit | 5cd398545141226f082b2f757f23c73303058a83 (patch) | |
tree | 734e2a0ad7e923ed1c57c076abb8d1070fdc3b2f /core/src/fxcrt/fx_extension.cpp | |
parent | 7ea305f1bd4efc1838fba053e4399358d6765ec7 (diff) | |
download | pdfium-5cd398545141226f082b2f757f23c73303058a83.tar.xz |
FPDF_Creator can only create file through embedder-supplied callback.
Hence, some of the routines taking filename strings are unused. This,
in turn allows us to get rid of some other fopen-ishy looking things
inside the library.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1264423003 .
Diffstat (limited to 'core/src/fxcrt/fx_extension.cpp')
-rw-r--r-- | core/src/fxcrt/fx_extension.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/fxcrt/fx_extension.cpp b/core/src/fxcrt/fx_extension.cpp index 0f610d2717..d64a06d08b 100644 --- a/core/src/fxcrt/fx_extension.cpp +++ b/core/src/fxcrt/fx_extension.cpp @@ -36,12 +36,6 @@ IFX_FileStream* FX_CreateFileStream(const FX_WCHAR* filename, } return new CFX_CRTFileStream(pFA); } -IFX_FileWrite* FX_CreateFileWrite(const FX_CHAR* filename) { - return FX_CreateFileStream(filename, FX_FILEMODE_Truncate); -} -IFX_FileWrite* FX_CreateFileWrite(const FX_WCHAR* filename) { - return FX_CreateFileStream(filename, FX_FILEMODE_Truncate); -} IFX_FileRead* FX_CreateFileRead(const FX_CHAR* filename) { return FX_CreateFileStream(filename, FX_FILEMODE_ReadOnly); } |