[Libreoffice-commits] core.git: sd/qa
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 17 11:22:15 UTC 2020
sd/qa/unit/SdrPdfImportTest.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6546dcda7ee6136d41d56f757fed87f2919c3290
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Dec 16 09:07:56 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
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 <caolanm at redhat.com>
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>
More information about the Libreoffice-commits
mailing list