sd/qa/unit/SdrPdfImportTest.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 6546dcda7ee6136d41d56f757fed87f2919c3290 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Dec 16 09:07:56 2020 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Dec 17 12:21:40 2020 +0100 fix --disable-pdfium build Change-Id: I6b7b089ecbd39336f4ea71d541112fd70c95acbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107817 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sd/qa/unit/SdrPdfImportTest.cxx b/sd/qa/unit/SdrPdfImportTest.cxx index 657bb416c361..f5e24fd19ede 100644 --- a/sd/qa/unit/SdrPdfImportTest.cxx +++ b/sd/qa/unit/SdrPdfImportTest.cxx @@ -15,11 +15,13 @@ #include <comphelper/scopeguard.hxx> #include <comphelper/propertysequence.hxx> +#if HAVE_FEATURE_PDFIUM // Prevent workdir/UnpackedTarball/pdfium/public/fpdfview.h from including windows.h in a way that // it will define e.g. Yield as a macro: #include <prewin.h> #include <postwin.h> #include <fpdfview.h> +#endif #include <unotools/tempfile.hxx> #include <unotools/mediadescriptor.hxx> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
