diff options
author | Noel Grandin <noel@peralex.com> | 2021-05-10 15:38:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-11 11:53:45 +0200 |
commit | de5af8315e014ce3408f66c6de3c9c4e841f8437 (patch) | |
tree | 2417d150ec55204db4c2646818fbd9e4889ee967 /include | |
parent | 8f3b80f5c58e1f22db68be0f109eb06d2b054688 (diff) |
improve perf of xmlreader::Pad
Change-Id: I83cc88977e7c287b0f428a3e01f289179b6dbad9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115353
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmlreader/pad.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmlreader/pad.hxx b/include/xmlreader/pad.hxx index 3aa73d57eab4..1f758c471338 100644 --- a/include/xmlreader/pad.hxx +++ b/include/xmlreader/pad.hxx @@ -47,7 +47,8 @@ private: SAL_DLLPRIVATE void flushSpan(); Span span_; - OStringBuffer buffer_{ 256 }; + sal_Int32 buflength_ = 0; + char buffer_[1024]; }; } |