summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTextListContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLTextListContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTextListContext.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLTextListContext.cxx b/xmloff/source/chart/SchXMLTextListContext.cxx
index 871476fe8bb5..1fd4f5c5c732 100644
--- a/xmloff/source/chart/SchXMLTextListContext.cxx
+++ b/xmloff/source/chart/SchXMLTextListContext.cxx
@@ -72,7 +72,8 @@ SvXMLImportContext* SchXMLListItemContext::CreateChildContext(
const uno::Reference< xml::sax::XAttributeList >& )
{
SvXMLImportContext* pContext = 0;
- if( nPrefix == XML_NAMESPACE_TEXT && IsXMLToken( rLocalName, XML_P ) )
+ if( (nPrefix == XML_NAMESPACE_TEXT ||
+ nPrefix == XML_NAMESPACE_LO_EXT) && IsXMLToken( rLocalName, XML_P ) )
pContext = new SchXMLParagraphContext( GetImport(), rLocalName, m_rText );
else
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );