svx/source/svdraw/svdpdf.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 87613ae13cf3260f82d12afd35e67c1a7e75984c Author: Caolán McNamara <[email protected]> AuthorDate: Wed Oct 15 12:53:55 2025 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Wed Oct 15 16:54:24 2025 +0200 at %%BeginData dump the remainder as binary Change-Id: I5ef876ac783487efa234edbfe2f7895bd1b06c6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192435 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 5ce09123dc83..f269c7cbff9d 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -984,6 +984,12 @@ static void rewriteBrokenFontName(std::string_view brokenName, std::string_view continue; } output.WriteLine(sLine); + if (sLine.startsWith("%%BeginData")) + { + // Write the rest direct as-is and quit + output.WriteStream(input); + break; + } } }
