diff options
Diffstat (limited to 'fpdfsdk/fsdk_filewriteadapter.cpp')
-rw-r--r-- | fpdfsdk/fsdk_filewriteadapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fsdk_filewriteadapter.cpp b/fpdfsdk/fsdk_filewriteadapter.cpp index 50394c3286..fad058fb54 100644 --- a/fpdfsdk/fsdk_filewriteadapter.cpp +++ b/fpdfsdk/fsdk_filewriteadapter.cpp @@ -17,6 +17,6 @@ bool FSDK_FileWriteAdapter::WriteBlock(const void* data, size_t size) { return fileWriteStruct_->WriteBlock(fileWriteStruct_, data, size) != 0; } -bool FSDK_FileWriteAdapter::WriteString(const CFX_ByteStringC& str) { +bool FSDK_FileWriteAdapter::WriteString(const ByteStringView& str) { return WriteBlock(str.unterminated_c_str(), str.GetLength()); } |