diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-01 19:22:52 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-02 12:15:51 +0200 |
commit | e341ea3863bd19a2884083d2957273cc3572f989 (patch) | |
tree | 0c8424f2e5b9bfb4aa8ea0508b584f5da28824cf /xmloff | |
parent | f7a5ed9b4b34264252be48488cf23c052a2276c2 (diff) |
ODF import of glTF 3D models
Change-Id: I42f7bc63c1f75592ab628407b40d40536e58f18c
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index df6b191954f3..aefffce441c4 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -3062,7 +3062,8 @@ void SdXMLPluginShapeContext::StartElement( const ::com::sun::star::uno::Referen if( nPrefix == XML_NAMESPACE_DRAW && IsXMLToken( aLocalName, XML_MIME_TYPE ) ) { - if( xAttrList->getValueByIndex( n ).equalsAscii( "application/vnd.sun.star.media" ) ) + if( xAttrList->getValueByIndex( n ).equalsAscii( "application/vnd.sun.star.media" ) || + xAttrList->getValueByIndex( n ).equalsAscii( "application/vnd.gltf+json" )) mbMedia = true; // leave this loop |