external/pdfium/tounicodeinfo.patch.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7938297c41b6f0d6da9f458f7d5d010019c6af83 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Oct 13 20:33:28 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Oct 13 21:38:07 2025 +0200 fix pdfium build Change-Id: Ica32d7cc97e0ff51ba9650af8d6916a0658849fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192331 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/external/pdfium/tounicodeinfo.patch.1 b/external/pdfium/tounicodeinfo.patch.1 index 0bcad0cb5a7c..22d84d0d9983 100644 --- a/external/pdfium/tounicodeinfo.patch.1 +++ b/external/pdfium/tounicodeinfo.patch.1 @@ -1,7 +1,7 @@ diff -ru pdfium.orig/fpdfsdk/fpdf_edittext.cpp pdfium/fpdfsdk/fpdf_edittext.cpp --- pdfium.orig/fpdfsdk/fpdf_edittext.cpp 2025-08-21 16:56:03.855282337 +0100 +++ pdfium/fpdfsdk/fpdf_edittext.cpp 2025-08-21 17:18:56.347453326 +0100 -@@ -958,6 +958,26 @@ +@@ -960,6 +960,26 @@ return true; } @@ -20,14 +20,14 @@ diff -ru pdfium.orig/fpdfsdk/fpdf_edittext.cpp pdfium/fpdfsdk/fpdf_edittext.cpp + + // SAFETY: caller ensures `buffer` points to at least `buflen` bytes. + *out_buflen = DecodeStreamMaybeCopyAndReturnLength( -+ pStream, UNSAFE_BUFFERS(pdfium::make_span(buffer, buflen))); ++ pStream, UNSAFE_BUFFERS(pdfium::span(buffer, buflen))); + + return true; +} + FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetIsEmbedded(FPDF_FONT font) { auto* cfont = CPDFFontFromFPDFFont(font); - if (!cfont) + if (!cfont) { diff -ru pdfium.orig/public/fpdf_edit.h pdfium/public/fpdf_edit.h --- pdfium.orig/public/fpdf_edit.h 2025-08-21 16:56:03.860206877 +0100 +++ pdfium/public/fpdf_edit.h 2025-08-21 17:15:06.289917550 +0100
