sax/source/tools/CachedOutputStream.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a717a1bab852656d2e220754632eff384138f735
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Mar 18 11:08:26 2022 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Fri Mar 18 12:53:08 2022 +0100

    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 <[email protected]>

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;

Reply via email to