summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-25 13:06:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-26 07:52:09 +0200
commit4d4f7750dce767f864b0e12b448002bb768eb130 (patch)
tree270a4afde82d0670aef259efb2bbffad19c12a7d /xmloff
parent4a4dfeee6fa48ad6b13dc2b2ed10b97ca5609d31 (diff)
use more fastparser in XMLTableStyleContext
Change-Id: I558459138f3d4191b6ecdcf726d022497dbb9f06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101321 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/prstylei.cxx7
-rw-r--r--xmloff/source/text/txtstyli.cxx15
2 files changed, 22 insertions, 0 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index f5389010fb4a..b39d3cb708cd 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -185,6 +185,13 @@ const OldFillStyleDefinitionSet& XMLPropStyleContext::getFooterSet()
return theFooterSet::get();
}
+css::uno::Reference< css::xml::sax::XFastContextHandler > XMLPropStyleContext::createFastChildContext(
+ sal_Int32 /*nElement*/,
+ const css::uno::Reference< css::xml::sax::XFastAttributeList >& /*xAttrList*/ )
+{
+ return nullptr;
+}
+
SvXMLImportContextRef XMLPropStyleContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index 262657aa87de..140c90d1bafb 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -141,6 +141,21 @@ XMLTextStyleContext::XMLTextStyleContext( SvXMLImport& rImport,
{
}
+XMLTextStyleContext::XMLTextStyleContext( SvXMLImport& rImport,
+ sal_Int32 nElement,
+ const Reference< XFastAttributeList > & xAttrList,
+ SvXMLStylesContext& rStyles, XmlStyleFamily nFamily,
+ bool bDefaultStyle )
+: XMLPropStyleContext( rImport, nElement, xAttrList, rStyles, nFamily, bDefaultStyle )
+, m_nOutlineLevel( -1 )
+, m_isAutoUpdate( false )
+, m_bHasMasterPageName( false )
+, m_bHasCombinedCharactersLetter( false )
+// Inherited paragraph style lost information about unset numbering (#i69523#)
+, m_bListStyleSet( false )
+{
+}
+
XMLTextStyleContext::~XMLTextStyleContext()
{}