diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/CppunitTest_xmloff_uxmloff.mk | 1 | ||||
-rw-r--r-- | xmloff/Library_xo.mk | 1 | ||||
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 13 |
3 files changed, 4 insertions, 11 deletions
diff --git a/xmloff/CppunitTest_xmloff_uxmloff.mk b/xmloff/CppunitTest_xmloff_uxmloff.mk index 9228357f18a1..1fa4ca473b72 100644 --- a/xmloff/CppunitTest_xmloff_uxmloff.mk +++ b/xmloff/CppunitTest_xmloff_uxmloff.mk @@ -45,7 +45,6 @@ $(eval $(call gb_CppunitTest_use_libraries,xmloff_uxmloff, \ salhelper \ sax \ svl \ - svt \ test \ tl \ utl \ diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk index 1bf512c2da3a..553fcc148d36 100644 --- a/xmloff/Library_xo.mk +++ b/xmloff/Library_xo.mk @@ -50,7 +50,6 @@ $(eval $(call gb_Library_use_libraries,xo,\ salhelper \ sax \ svl \ - svt \ tl \ utl \ vcl \ diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 4bc580dc2603..dee14cef6625 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -81,7 +81,6 @@ #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/vector/b2dvector.hxx> -#include <svtools/miscopt.hxx> #include <config_features.h> @@ -3082,7 +3081,7 @@ void SdXMLPluginShapeContext::StartElement( const ::com::sun::star::uno::Referen if( xAttrList->getValueByIndex( n ).equalsAscii( "application/vnd.sun.star.media" ) ) mbMedia = true; #if HAVE_FEATURE_GLTF - if( xAttrList->getValueByIndex( n ).equalsAscii( "model/vnd.gltf+json" ) && SvtMiscOptions().IsExperimentalMode() ) + if( xAttrList->getValueByIndex( n ).equalsAscii( "model/vnd.gltf+json" ) ) mbMedia = true; #endif // leave this loop @@ -3535,14 +3534,9 @@ SvXMLImportContext *SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPref if ( !msHyperlink.isEmpty() ) pShapeContext->setHyperlink( msHyperlink ); - // Ignore gltf model if necessary and so the fallback image will be imported - bool bIngoreGltf; #if !HAVE_FEATURE_GLTF - bIngoreGltf = true; -#else - bIngoreGltf = !SvtMiscOptions().IsExperimentalMode(); -#endif - if( bIngoreGltf && IsXMLToken(rLocalName, XML_PLUGIN ) ) + // Ignore gltf model if necessary and so the fallback image will be imported + if( IsXMLToken(rLocalName, XML_PLUGIN ) ) { SdXMLPluginShapeContext* pPluginContext = dynamic_cast<SdXMLPluginShapeContext*>(pShapeContext); if( pPluginContext && pPluginContext->getMimeType() == "model/vnd.gltf+json" ) @@ -3551,6 +3545,7 @@ SvXMLImportContext *SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPref return this; } } +#endif mxImplContext = pContext; mbSupportsReplacement = IsXMLToken(rLocalName, XML_OBJECT ) || IsXMLToken(rLocalName, XML_OBJECT_OLE); |