diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-16 09:07:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-17 12:21:40 +0100 |
commit | 6546dcda7ee6136d41d56f757fed87f2919c3290 (patch) | |
tree | 16627e0db421b18569a31964382091ecbdc43693 /sd/qa | |
parent | 5c543f7ae6de63ddf2a563162c296f69f74e7d38 (diff) |
fix --disable-pdfium build
Change-Id: I6b7b089ecbd39336f4ea71d541112fd70c95acbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107817
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/SdrPdfImportTest.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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> |