summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLFontStylesContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/XMLFontStylesContext.cxx')
-rw-r--r--xmloff/source/style/XMLFontStylesContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx
index cbb364663502..3a2840baa6e9 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -228,7 +228,7 @@ SvXMLImportContextRef XMLFontStyleContextFontFaceSrc::CreateChildContext(
{
if( nPrefix == XML_NAMESPACE_SVG && IsXMLToken( rLocalName, XML_FONT_FACE_URI ))
return new XMLFontStyleContextFontFaceUri( GetImport(), nPrefix, rLocalName, xAttrList, font );
- return SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList );
+ return nullptr;
}
@@ -254,7 +254,7 @@ SvXMLImportContextRef XMLFontStyleContextFontFaceUri::CreateChildContext(
if( mxBase64Stream.is() )
return new XMLBase64ImportContext( GetImport(), nPrefix, rLocalName, xAttrList, mxBase64Stream );
}
- return SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList );
+ return nullptr;
}
void XMLFontStyleContextFontFaceUri::SetAttribute( sal_uInt16 nPrefixKey, const OUString& rLocalName,