diff options
Diffstat (limited to 'xmloff/source/text/txtparai.cxx')
-rw-r--r-- | xmloff/source/text/txtparai.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index e44771a224a9..e836017f9396 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -696,9 +696,6 @@ SvXMLImportContextRef XMLImpRubyContext_Impl::CreateChildContext( rLocalName, xAttrList, *this ); - else - xContext = new SvXMLImportContext( - GetImport(), nPrefix, rLocalName ); } else xContext = SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, @@ -1770,12 +1767,6 @@ SvXMLImportContextRef XMLImpSpanContext_Impl::CreateChildContext( rHints.push_back( std::make_unique<XMLDrawHint_Impl>(pShapeContext, xAnchorPos)); } - if( !pContext ) - { - // ignore unknown content - pContext = - new SvXMLImportContext( rImport, nPrefix, rLocalName ); - } // Behind fields, shapes and any unknown content blanks aren't ignored rIgnoreLeadingSpace = false; } |