summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-18 11:08:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-18 12:53:08 +0100
commita717a1bab852656d2e220754632eff384138f735 (patch)
tree80db8ce8e9de83372e887e20b86f37e7bd5f52b6 /sax
parentd277de1eac9ddc00eff3e5801ab29d8e8a9a3af7 (diff)
tdf#133603 increase cache size in CachedOutputStream
modern devices require bigger chunks of data to keep them busy Change-Id: I356327718fc20d937364b6ee726b0e94b4199e0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131734 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/CachedOutputStream.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/CachedOutputStream.hxx b/sax/source/tools/CachedOutputStream.hxx
index c3f442f9d93d..7d9e514c345c 100644
--- a/sax/source/tools/CachedOutputStream.hxx
+++ b/sax/source/tools/CachedOutputStream.hxx
@@ -30,7 +30,7 @@ public:
class CachedOutputStream
{
/// When buffer hits this size, it's written to mxOutputStream
- static const sal_Int32 mnMaximumSize = 0x10000;
+ static const sal_Int32 mnMaximumSize = 0x100000; // 1Mbyte
/// ForMerge structure is used for sorting elements in Writer
std::shared_ptr< ForMergeBase > mpForMerge;