diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-06 15:26:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-08 13:40:11 +0000 |
commit | 6acc6c011d3afd6834efeee1b2efe43652a86f2e (patch) | |
tree | 78ec792c75ed8e23605982d68392f8a1cd22c6b5 /xmloff/source/chart/SchXMLTextListContext.cxx | |
parent | 204d1093d4954596cc7d7578e0630648f1f678f5 (diff) |
text:p is not allowed as child element of draw:frame
Regression from #i118485#.
Change-Id: Ib242ca1417f46b731d62d117132cbed6c02448fb
Reviewed-on: https://gerrit.libreoffice.org/15173
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'xmloff/source/chart/SchXMLTextListContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLTextListContext.cxx | 3 |
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 ); |