summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 07ce5258e3ad..b2dc42dbb270 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -171,8 +171,7 @@ css::uno::Reference<XFastContextHandler> ConvDicXMLImportContext::createFastChil
{
if ( Element == ConvDicXMLToken::TEXT_CONVERSION_DICTIONARY )
return new ConvDicXMLDictionaryContext_Impl( GetConvDicImport() );
- else
- return new SvXMLImportContext( GetImport() );
+ return nullptr;
}
@@ -210,8 +209,7 @@ css::uno::Reference<XFastContextHandler> ConvDicXMLDictionaryContext_Impl::creat
{
if ( Element == ConvDicXMLToken::ENTRY )
return new ConvDicXMLEntryTextContext_Impl( GetConvDicImport() );
- else
- return new SvXMLImportContext(GetImport());
+ return nullptr;
}
css::uno::Reference<XFastContextHandler> ConvDicXMLEntryTextContext_Impl::createFastChildContext(
@@ -220,8 +218,7 @@ css::uno::Reference<XFastContextHandler> ConvDicXMLEntryTextContext_Impl::create
{
if ( Element == ConvDicXMLToken::RIGHT_TEXT )
return new ConvDicXMLRightTextContext_Impl( GetConvDicImport(), *this );
- else
- return new SvXMLImportContext(GetImport());
+ return nullptr;
}
void ConvDicXMLEntryTextContext_Impl::startFastElement(