summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-06-15 06:05:14 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-06-15 06:06:57 +0200
commit489e52ece1f182d43db354594f09312618092ce6 (patch)
tree678476c5227bca5d59542ca94a121ddb6a2e0c80 /sd
parentbb2db44c6936dcb20ca8679aee8abe88ae933066 (diff)
Fix --disable-gltf build
saveAndReload tests export, which is needed only when gltf support is enabled. Change-Id: I08152c12db77ad2fc623f2699784b968378686db (cherry picked from commit 634530620e6a51c5ea8f1596f6ab51b2a7e2ea9c)
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/import-tests.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index b6a6c8cb15e4..04af6250b49e 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -713,7 +713,10 @@ void SdFiltersTest::testMediaEmbedding()
{
SvtMiscOptions().SetExperimentalMode(true);
::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc("/sd/qa/unit/data/media_embedding.odp"));
+
+#if HAVE_FEATURE_GLTF
xDocShRef = saveAndReload( xDocShRef, ODP );
+#endif
SdDrawDocument *pDoc = xDocShRef->GetDoc();
CPPUNIT_ASSERT_MESSAGE( "no document", pDoc != NULL );