Ticket #23074: libreoffice-26.2.2.2-poppler_26.04-1.patch

File libreoffice-26.2.2.2-poppler_26.04-1.patch, 1.4 KB (added by martyj19, 6 months ago)

Adjustment to libreoffice

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

    diff -Naur libreoffice-26.2.2.2.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx libreoffice-26.2.2.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
    old new  
    11151115}
    11161116
    11171117#if POPPLER_CHECK_VERSION(0, 64, 0)
    1118 void PDFOutDev::drawString(GfxState*, const GooString* /*s*/)
     1118void PDFOutDev::drawString(GfxState*, const std::string & /*s*/)
    11191119#else
    11201120void PDFOutDev::drawString(GfxState*, GooString* /*s*/)
    11211121#endif
  • sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx

    diff -Naur libreoffice-26.2.2.2.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx libreoffice-26.2.2.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
    old new  
    261261                              CharCode code, int nBytes, Unicode *u, int uLen) override;
    262262#endif
    263263#if POPPLER_CHECK_VERSION(0, 64, 0)
    264         virtual void drawString(GfxState *state, const GooString *s) override;
     264        virtual void drawString(GfxState *state, const std::string & s) override;
    265265#else
    266266        virtual void drawString(GfxState *state, GooString *s) override;
    267267#endif