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 /sd | |
parent | chart2: missing header <iterator> reportedly breaks MSVC2015 (diff) | |
download | core-056fbbf93b45bf948911df11ba5273131844f9cc.tar.gz core-056fbbf93b45bf948911df11ba5273131844f9cc.zip |
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 'sd')
-rw-r--r-- | sd/qa/unit/export-tests.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index ad1b16803f95..8d195f2cf56a 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -517,6 +517,7 @@ void SdExportTest::testTdf62176() void SdExportTest::testEmbeddedPdf() { +#if HAVE_FEATURE_PDFIMPORT sd::DrawDocShellRef xShell = loadURL(m_directories.getURLFromSrc("/sd/qa/unit/data/odp/embedded-pdf.odp"), ODP); xShell = saveAndReload(xShell, ODP); uno::Reference<drawing::XDrawPage> xPage = getPage(0, xShell); @@ -525,6 +526,7 @@ void SdExportTest::testEmbeddedPdf() xShape->getPropertyValue("ReplacementGraphicURL") >>= aReplacementGraphicURL; CPPUNIT_ASSERT(!aReplacementGraphicURL.isEmpty()); xShell->DoClose(); +#endif } CPPUNIT_TEST_SUITE_REGISTRATION(SdExportTest); |