summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-31 10:58:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-31 18:54:34 +0100
commit09758c0e717a9ff31b004532906f902763300a93 (patch)
tree0a8d3d7a09d09137439e5921f4e29fbd2d6bf283 /sc/source/filter
parentd40c2be38aaf56116f4dc7be9e78f4e9695407fc (diff)
tdf#125688, better sizing for some OUStringBuffer
Change-Id: Ib1f49a53bd5e799455b57abd8532e3e61e119abe Reviewed-on: https://gerrit.libreoffice.org/81840 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index e6631332a18d..c8e652f4522b 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -42,9 +42,9 @@ using namespace xmloff::token;
class ScXMLChangeInfoContext : public ScXMLImportContext
{
ScMyActionInfo aInfo;
- OUStringBuffer sAuthorBuffer;
- OUStringBuffer sDateTimeBuffer;
- OUStringBuffer sCommentBuffer;
+ OUStringBuffer sAuthorBuffer{32};
+ OUStringBuffer sDateTimeBuffer{32};
+ OUStringBuffer sCommentBuffer{64};
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
sal_uInt32 nParagraphCount;