diff -Naur libreoffice-25.8.4.2.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx libreoffice-25.8.4.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
--- libreoffice-25.8.4.2.orig/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx	2025-12-10 15:59:43.000000000 -0500
+++ libreoffice-25.8.4.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx	2026-01-07 00:19:08.078517851 -0500
@@ -232,10 +232,10 @@
     str = ((DCTStream *)str)->getRawStream();
 #endif
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!str->reset())
+    if (!str->rewind())
         return;
 #else
-    str->reset();
+    str->rewind();
 #endif
 
     o_rOutputBuf.clear();
@@ -273,10 +273,10 @@
 
     // initialize stream
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!str->reset())
+    if (!str->rewind())
         return;
 #else
-    str->reset();
+    str->rewind();
 #endif
 
     // copy the raw stream
@@ -335,10 +335,10 @@
                         colorMap->getNumPixelComps(),
                         colorMap->getBits()));
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!imgStr->reset())
+    if (!imgStr->rewind())
         return;
 #else
-    imgStr->reset();
+    imgStr->rewind();
 #endif
 
     for( int y=0; y<height; ++y)
diff -Naur libreoffice-25.8.4.2.orig/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx libreoffice-25.8.4.2/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
--- libreoffice-25.8.4.2.orig/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx	2025-12-10 15:59:43.000000000 -0500
+++ libreoffice-25.8.4.2/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx	2026-01-07 00:19:08.092303939 -0500
@@ -215,10 +215,10 @@
     aScanlines.reserve( nLineSize * height + height );
 
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!str->reset())
+    if (!str->rewind())
         return;
 #else
-    str->reset();
+    str->rewind();
 #endif
     for( int y = 0; y < height; y++ )
     {
@@ -258,10 +258,10 @@
                         colorMap->getNumPixelComps(),
                         colorMap->getBits()));
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!imgStr->reset())
+    if (!imgStr->rewind())
         return;
 #else
-    imgStr->reset();
+    imgStr->rewind();
 #endif
 
     // create scan line data buffer
@@ -300,10 +300,10 @@
                         maskColorMap->getBits()));
 
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!imgStrMask->reset())
+    if (!imgStrMask->rewind())
         return;
 #else
-    imgStrMask->reset();
+    imgStrMask->rewind();
 #endif
 
     for( int y = 0; y < maskHeight; ++y )
@@ -354,10 +354,10 @@
                         colorMap->getNumPixelComps(),
                         colorMap->getBits()));
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!imgStr->reset())
+    if (!imgStr->rewind())
         return;
 #else
-    imgStr->reset();
+    imgStr->rewind();
 #endif
 
     // create scan line data buffer
@@ -393,10 +393,10 @@
         new ImageStream(maskStr, maskWidth, 1, 1));
 
 #if POPPLER_CHECK_VERSION(25, 2, 0)
-    if (!imgStrMask->reset())
+    if (!imgStrMask->rewind())
         return;
 #else
-    imgStrMask->reset();
+    imgStrMask->rewind();
 #endif
 
     for( int y = 0; y < maskHeight; ++y )
