From 08a43cc97ccf88faa9d3a04afc3aacd2c885a2d1 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Sat, 28 Oct 2017 02:28:18 +0200 Subject: related: tdf#103884 remove gltf/collada feature Change-Id: Icd26ad96c0337844ef1463dabfbe791caa00dd2d Reviewed-on: https://gerrit.libreoffice.org/43972 Reviewed-by: Thorsten Behrens Tested-by: Thorsten Behrens --- xmloff/source/draw/ximpshap.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xmloff/source/draw/ximpshap.cxx') diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index c4fc1b294187..c0864e683761 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -2980,10 +2980,6 @@ void SdXMLPluginShapeContext::StartElement( const css::uno::Reference< css::xml: { if( xAttrList->getValueByIndex( n ) == "application/vnd.sun.star.media" ) mbMedia = true; -#if HAVE_FEATURE_GLTF - if( xAttrList->getValueByIndex( n ) == "model/vnd.gltf+json" ) - mbMedia = true; -#endif // leave this loop n = nAttrCount - 1; } @@ -3417,7 +3413,6 @@ SvXMLImportContextRef SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPr if ( !msHyperlink.isEmpty() ) pShapeContext->setHyperlink( msHyperlink ); -#if !HAVE_FEATURE_GLTF // Ignore gltf model if necessary and so the fallback image will be imported if( IsXMLToken(rLocalName, XML_PLUGIN ) ) { @@ -3428,7 +3423,6 @@ SvXMLImportContextRef SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPr return new SvXMLImportContext(GetImport(), nPrefix, rLocalName); } } -#endif mxImplContext = xContext; mbSupportsReplacement = IsXMLToken(rLocalName, XML_OBJECT ) || IsXMLToken(rLocalName, XML_OBJECT_OLE); -- cgit