From 3ce68a2a7cc0fe9fe83dccd0019cd32d6518c16e Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 8 Feb 2017 22:28:09 +0100 Subject: [PATCH] xmloff: fix this CreateChildContext to be properly ignorant Change-Id: I0b5cc271768ba29d039abb05408ccbd686c18544 --- xmloff/source/draw/ximpshap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 9abdacfe247e..c49c55aae6a2 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -3505,7 +3505,7 @@ SvXMLImportContext *SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPref if( pPluginContext && pPluginContext->getMimeType() == "model/vnd.gltf+json" ) { mxImplContext = nullptr; - return this; + return new SvXMLImportContext(GetImport(), nPrefix, rLocalName); } } #endif