pdfium: add a wrapper for FPDF_SaveWithVersion()

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 22 October 2020 07:06 UTC

And use it in getCompatibleStream().

Change-Id: I48ab2a17c0780b78c6af6dbff50dba81f8041f43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104642

ff79f6fa9b09 pdfium: add a wrapper for FPDF_SaveWithVersion()
include/vcl/filter/PDFiumLibrary.hxx | 3 +++
vcl/source/filter/ipdf/pdfread.cxx | 45 +++++++++++-------------------------
vcl/source/pdf/PDFiumLibrary.cxx | 36 +++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 31 deletions(-)

Upstream: cgit.freedesktop.org


  • Share