svx/source/svdraw/svdpdf.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 4d15b5fa76d0bc68d17b39d955036d3c21ee313b
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Oct 15 12:53:55 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Oct 17 09:23:40 2025 +0200

    at %%BeginData dump the remainder as binary
    
    Change-Id: I5ef876ac783487efa234edbfe2f7895bd1b06c6c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192450
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index 2b5a5f7eef0b..a3f3e5ee42de 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -987,6 +987,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;
+        }
     }
 }
 

Reply via email to