diff options
Diffstat (limited to 'fpdfsdk/fpdfdoc.cpp')
-rw-r--r-- | fpdfsdk/fpdfdoc.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fpdfsdk/fpdfdoc.cpp b/fpdfsdk/fpdfdoc.cpp index 7be53a6554..b6088604fd 100644 --- a/fpdfsdk/fpdfdoc.cpp +++ b/fpdfsdk/fpdfdoc.cpp @@ -60,16 +60,6 @@ CPDF_LinkList* GetLinkList(CPDF_Page* page) { return pHolder->get(); } -unsigned long Utf16EncodeMaybeCopyAndReturnLength(const CFX_WideString& text, - void* buffer, - unsigned long buflen) { - CFX_ByteString encodedText = text.UTF16LE_Encode(); - unsigned long len = encodedText.GetLength(); - if (buffer && len <= buflen) - memcpy(buffer, encodedText.c_str(), len); - return len; -} - } // namespace DLLEXPORT FPDF_BOOKMARK STDCALL |