diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-28 02:28:18 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-30 08:21:55 +0100 |
commit | 08a43cc97ccf88faa9d3a04afc3aacd2c885a2d1 (patch) | |
tree | 11f416701d1be0a962c7653ea86060f30f708b56 /sd/qa | |
parent | 8d994f83568073eb79ab987069f740c3c940405e (diff) |
related: tdf#103884 remove gltf/collada feature
Change-Id: Icd26ad96c0337844ef1463dabfbe791caa00dd2d
Reviewed-on: https://gerrit.libreoffice.org/43972
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/export-tests.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index a688954130b6..e6441fcb8ce1 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -211,25 +211,8 @@ void SdExportTest::testMediaEmbedding() ::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("/sd/qa/unit/data/media_embedding.odp"), ODP); -#if HAVE_FEATURE_GLTF - xDocShRef = saveAndReload( xDocShRef.get(), ODP ); -#endif - const SdrPage *pPage = GetPage( 1, xDocShRef ); -#if HAVE_FEATURE_GLTF - // First object is a glTF model - SdrMediaObj *pModelObj = dynamic_cast<SdrMediaObj*>( pPage->GetObj( 2 )); - CPPUNIT_ASSERT_MESSAGE( "missing model", pModelObj != nullptr); - CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/duck/duck.json" ), pModelObj->getMediaProperties().getURL()); - CPPUNIT_ASSERT_EQUAL( OUString( "model/vnd.gltf+json" ), pModelObj->getMediaProperties().getMimeType()); -#else - // If glTF is not supported, then the fallback image is imported - SdrGrafObj *pGrafic = dynamic_cast<SdrGrafObj*>( pPage->GetObj( 2 )); - CPPUNIT_ASSERT_MESSAGE( "Could not load glTF fallback image", pGrafic != nullptr); - CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/Fallbacks/duck.png" ), pGrafic->GetGrafStreamURL()); -#endif - // Second object is a sound SdrMediaObj *pMediaObj = dynamic_cast<SdrMediaObj*>( pPage->GetObj( 3 )); CPPUNIT_ASSERT_MESSAGE( "missing media object", pMediaObj != nullptr); |