diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-28 22:51:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-28 23:00:54 +0300 |
commit | b3acc2944862ff9def6c19c2687a6209a4a191bb (patch) | |
tree | ef6b5ed779023d399d866e093df7b12928676ffe /sd/qa/unit | |
parent | 53cdabd648d1e5bb4cd1947c281d514d7f34c350 (diff) |
Fix --disable-pdfimport build
Change-Id: I932f584ef3c054abe738d59e9957c3a40be1d2c9
Diffstat (limited to 'sd/qa/unit')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 8da93fb45d58..c2f00b943272 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -7,6 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <config_poppler.h> + #include "sdmodeltestbase.hxx" #include <svl/stritem.hxx> @@ -94,8 +96,10 @@ public: void testShapeLineStyle(); void testBnc862510_6(); void testBnc862510_7(); +#if ENABLE_PDFIMPORT void testPDFImport(); void testPDFImportSkipImages(); +#endif void testBulletSuffix(); void testBnc910045(); @@ -130,8 +134,10 @@ public: CPPUNIT_TEST(testShapeLineStyle); CPPUNIT_TEST(testBnc862510_6); CPPUNIT_TEST(testBnc862510_7); +#if ENABLE_PDFIMPORT CPPUNIT_TEST(testPDFImport); CPPUNIT_TEST(testPDFImportSkipImages); +#endif CPPUNIT_TEST(testBulletSuffix); CPPUNIT_TEST(testBnc910045); @@ -1081,6 +1087,8 @@ void SdImportTest::testBnc862510_7() xDocShRef->DoClose(); } +#if ENABLE_PDFIMPORT + void SdImportTest::testPDFImport() { ::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc("/sd/qa/unit/data/pdf/txtpic.pdf"), PDF); @@ -1118,6 +1126,8 @@ void SdImportTest::testPDFImportSkipImages() xDocShRef->DoClose(); } +#endif + void SdImportTest::testBulletSuffix() { ::sd::DrawDocShellRef xDocShRef = loadURL( getURLFromSrc("/sd/qa/unit/data/pptx/n83889.pptx"), PPTX ); |