sc/qa/extras/scpdfexport.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit bf3da1eee0fc37d77ca71bb6ae3ef07255e3ed9a
Author:     Justin Luth <[email protected]>
AuthorDate: Thu Jan 8 16:39:51 2026 -0500
Commit:     Justin Luth <[email protected]>
CommitDate: Fri Jan 9 03:39:04 2026 +0100

    fix build: duplicate pPDFium declarations
    
    The backport cleanly merged,
    but someone else had already defined the same fix upstream
    at the beginning of the test.
    
    Change-Id: Id96727d940f27c1aeb57e6425a86eb5427368794
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196887
    Tested-by: Justin Luth <[email protected]>
    Reviewed-by: Justin Luth <[email protected]>

diff --git a/sc/qa/extras/scpdfexport.cxx b/sc/qa/extras/scpdfexport.cxx
index 533ce520af3e..6ef9267e4ee5 100644
--- a/sc/qa/extras/scpdfexport.cxx
+++ b/sc/qa/extras/scpdfexport.cxx
@@ -235,12 +235,6 @@ void ScPDFExportTest::testPopupRectangleSize_Tdf162955()
     ScRange aRange(0, 0, 0, 0, 0, 0);
     exportToPDF(xModel, aRange);
 
-    std::shared_ptr<vcl::pdf::PDFium> pPDFium = vcl::pdf::PDFiumLibrary::get();
-    if (!pPDFium)
-    {
-        return;
-    }
-
     // Parse the export result with pdfium.
     std::unique_ptr<vcl::pdf::PDFiumDocument> pPdfDocument = parsePDFExport();
     CPPUNIT_ASSERT_EQUAL(1, pPdfDocument->getPageCount());

Reply via email to