diff options
author | Mohammed Abdul Azeem <azeemmysore@gmail.com> | 2017-02-11 01:50:34 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-05-22 14:00:00 +0200 |
commit | a7bfced28c526ca603cde3c1ac74ea842320bd7c (patch) | |
tree | c710411cc51762f9937cbbc01f880cdd80f71e8c /include | |
parent | Resolves: tdf#107981 SID_FM_CTL_PROPERTIES colorbox needs a 'default' entry (diff) | |
download | core-a7bfced28c526ca603cde3c1ac74ea842320bd7c.tar.gz core-a7bfced28c526ca603cde3c1ac74ea842320bd7c.zip |
Optimizations:
This avoids a lot of repeated allocation and freeing
of memory for AttributeList.
Change-Id: I97e44e633ed9880f37665f71e4dec3e74085cb09
Reviewed-on: https://gerrit.libreoffice.org/34134
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/xmlimp.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index f7137715ced3..37b1d1589d88 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -222,6 +222,8 @@ class XMLOFF_DLLPUBLIC SvXMLImport : public cppu::WeakImplHelper< bool isFastContext; css::uno::Reference< css::xml::sax::XFastParser > mxParser; rtl::Reference< SvXMLImportFastNamespaceHandler > maNamespaceHandler; + rtl::Reference < comphelper::AttributeList > maAttrList; + rtl::Reference < comphelper::AttributeList > maNamespaceAttrList; css::uno::Reference< css::xml::sax::XFastDocumentHandler > mxFastDocumentHandler; css::uno::Reference< css::xml::sax::XFastTokenHandler > mxTokenHandler; std::unordered_map< sal_Int32, OUString > maNamespaceMap; |