sc/qa/extras/scpdfexport.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 2a008a20344bcc62ca168ce9b22fd3c1cd9d2a05 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Tue Apr 22 18:20:00 2025 +0200 Commit: Noel Grandin <noelgran...@gmail.com> CommitDate: Tue Apr 22 20:03:08 2025 +0200 some unit tests not valid when the pdfimport feature is disabled Change-Id: I2c9aadb292f8c634cff57bf6171be621b6b58064 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184448 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/qa/extras/scpdfexport.cxx b/sc/qa/extras/scpdfexport.cxx index bd0e8d21747b..6ef9267e4ee5 100644 --- a/sc/qa/extras/scpdfexport.cxx +++ b/sc/qa/extras/scpdfexport.cxx @@ -222,6 +222,12 @@ void ScPDFExportTest::testMediaShapeScreen_Tdf159094() void ScPDFExportTest::testPopupRectangleSize_Tdf162955() { + std::shared_ptr<vcl::pdf::PDFium> pPDFium = vcl::pdf::PDFiumLibrary::get(); + if (!pPDFium) + { + return; + } + loadFromFile(u"tdf162955_comment.ods"); uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);