summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-11-20 12:11:44 +0000
committerMichael Meeks <michael.meeks@collabora.com>2013-11-20 12:12:50 +0000
commit9491ca3f64bd44a6a8e63f7d2eae02164f792258 (patch)
tree5ed4973014c2fe04d5e67dd792ee2229c51928fa /include/oox
parent55716b1ed969073f273c00baedb56d8f5de93761 (diff)
fastparser: avoid excessive alloc/frees for int / bool / double parsing
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/helper/attributelist.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/oox/helper/attributelist.hxx b/include/oox/helper/attributelist.hxx
index 3fb6e8df113c..6aa035a0b331 100644
--- a/include/oox/helper/attributelist.hxx
+++ b/include/oox/helper/attributelist.hxx
@@ -27,6 +27,10 @@
#include <oox/token/tokens.hxx>
#include <oox/dllapi.h>
+namespace sax_fastparser {
+ class FastAttributeList;
+};
+
namespace oox {
// ============================================================================
@@ -159,6 +163,8 @@ public:
private:
::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >
mxAttribs;
+ mutable sax_fastparser::FastAttributeList *mpAttribList;
+ sax_fastparser::FastAttributeList *getAttribList() const;
};
// ============================================================================