From 8154953add163554c00935486a1cf5677cef2609 Mon Sep 17 00:00:00 2001 From: Mohammed Abdul Azeem Date: Mon, 5 Sep 2016 14:38:30 +0530 Subject: ScXMLTableRowCellContext implements fast interfaces: Implementation of fast interfaces for contexts in path from ScXMLImport::CreateFastContext to ScXMLTableRowCellContext. FastParser is enabled and duplicates are avoided at all possible places. OOoXML filters still need those legacy paths we removed, so I had to temporarily map them to fast elements, which would increase their load time, but hopefully it should help us in the long run. Change-Id: Ie997a9a8b72787da2356abc99ea2cd57c2e5b670 Reviewed-on: https://gerrit.libreoffice.org/28648 Tested-by: Jenkins Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- xmloff/source/transform/FrameOASISTContext.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xmloff/source/transform/FrameOASISTContext.cxx') diff --git a/xmloff/source/transform/FrameOASISTContext.cxx b/xmloff/source/transform/FrameOASISTContext.cxx index ca5b1e9c2b94..4ed0d0ac9f01 100644 --- a/xmloff/source/transform/FrameOASISTContext.cxx +++ b/xmloff/source/transform/FrameOASISTContext.cxx @@ -145,8 +145,7 @@ rtl::Reference XMLFrameOASISTransformerContext::CreateChi GetTransformer().ProcessAttrList( m_xAttrList, OASIS_SHAPE_ACTIONS, false ); - GetTransformer().GetDocHandler()->startElement( m_aElemQName, - m_xAttrList ); + GetTransformer().startFastElement( m_aElemQName, m_xAttrList ); } else { @@ -175,7 +174,7 @@ rtl::Reference XMLFrameOASISTransformerContext::CreateChi void XMLFrameOASISTransformerContext::EndElement() { if( !m_bIgnoreElement ) - GetTransformer().GetDocHandler()->endElement( m_aElemQName ); + GetTransformer().endFastElement( m_aElemQName ); } void XMLFrameOASISTransformerContext::Characters( const OUString& rChars ) -- cgit