diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 18:14:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 17:50:36 +0000 |
commit | 056fbbf93b45bf948911df11ba5273131844f9cc (patch) | |
tree | b0b8f18fd5e9f44c2c626840d3b593b5c2038e59 /sw | |
parent | 580ed47cf7dd56850b3a6868f7ab1fbbdc9b3e98 (diff) |
Fix --disable-pdfimport build
Change-Id: Ida06b892aea92cfe26fd62372e21ca611d8838d3
Reviewed-on: https://gerrit.libreoffice.org/27447
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/odfexport/odfexport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 1e8febf87b45..56d2d2a6529a 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -8,6 +8,7 @@ */ #include <swmodeltestbase.hxx> +#include <config_features.h> #include <initializer_list> @@ -810,12 +811,14 @@ DECLARE_ODFEXPORT_TEST(testCellUserDefineAttr, "userdefattr-tablecell.odt") getUserDefineAttribute(uno::makeAny(xCellC1), "proName", "v3"); } +#if HAVE_FEATURE_PDFIMPORT DECLARE_ODFEXPORT_TEST(testEmbeddedPdf, "embedded-pdf.odt") { uno::Reference<drawing::XShape> xShape = getShape(1); // This failed, pdf+svm replacement graphics pair didn't survive an ODT roundtrip. CPPUNIT_ASSERT(!getProperty<OUString>(xShape, "ReplacementGraphicURL").isEmpty()); } +#endif DECLARE_ODFEXPORT_TEST(testTableStyles1, "table_styles_1.odt") { |