summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpshap.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-10-28 02:28:18 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-10-30 08:21:55 +0100
commit08a43cc97ccf88faa9d3a04afc3aacd2c885a2d1 (patch)
tree11f416701d1be0a962c7653ea86060f30f708b56 /xmloff/source/draw/ximpshap.cxx
parent8d994f83568073eb79ab987069f740c3c940405e (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 'xmloff/source/draw/ximpshap.cxx')
-rw-r--r--xmloff/source/draw/ximpshap.cxx6
1 files changed, 0 insertions, 6 deletions
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);