Ticket #22044: libreoffice-25.8.1.1-poppler_25.09-1.patch

File libreoffice-25.8.1.1-poppler_25.09-1.patch, 2.0 KB (added by martyj19, 13 months ago)

Adjust libreoffice for poppler 25.09

  • sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx

    diff -Naur libreoffice-25.8.1.1.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx libreoffice-25.8.1.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
    old new  
    12491249
    12501250#if POPPLER_CHECK_VERSION(21, 3, 0)
    12511251poppler_bool PDFOutDev::tilingPatternFill(GfxState *state, Gfx *, Catalog *,
    1252                                           GfxTilingPattern *tPat, const double *mat,
     1252                                          GfxTilingPattern *tPat, const std::array<double, 6> &mat,
    12531253                                          int x0, int y0, int x1, int y1,
    12541254                                          double xStep, double yStep)
    12551255{
    1256     const double *pBbox = tPat->getBBox();
     1256    const std::array<double, 4> &pBbox = tPat->getBBox();
    12571257    const int nPaintType = tPat->getPaintType();
    12581258    Dict *pResDict = tPat->getResDict();
    12591259    Object *aStr = tPat->getContentStream();
  • sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx

    diff -Naur libreoffice-25.8.1.1.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx libreoffice-25.8.1.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
    old new  
    287287#if POPPLER_CHECK_VERSION(21, 3, 0)
    288288        poppler_bool useTilingPatternFill() override { return true; };
    289289        poppler_bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat,
    290                                        GfxTilingPattern *tPat, const double *mat,
     290                                       GfxTilingPattern *tPat, const std::array<double, 6> &mat,
    291291                                       int x0, int y0, int x1, int y1,
    292292                                       double xStep, double yStep) override;
    293293#endif