summaryrefslogtreecommitdiffstats
path: root/sax/source/tools/CachedOutputStream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/tools/CachedOutputStream.hxx')
-rw-r--r--sax/source/tools/CachedOutputStream.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sax/source/tools/CachedOutputStream.hxx b/sax/source/tools/CachedOutputStream.hxx
index 8eca0a4c84e1..0a2db555752a 100644
--- a/sax/source/tools/CachedOutputStream.hxx
+++ b/sax/source/tools/CachedOutputStream.hxx
@@ -33,19 +33,19 @@ class CachedOutputStream
/// When buffer hits this size, it's written to mxOutputStream
static const sal_Int32 mnMaximumSize = 0x10000;
+ /// ForMerge structure is used for sorting elements in Writer
+ std::shared_ptr< ForMergeBase > mpForMerge;
+ const css::uno::Sequence<sal_Int8> mpCache;
/// Output stream, usually writing data into files.
css::uno::Reference< css::io::XOutputStream > mxOutputStream;
- sal_Int32 mnCacheWrittenSize;
- const css::uno::Sequence<sal_Int8> mpCache;
uno_Sequence *pSeq;
+ sal_Int32 mnCacheWrittenSize;
bool mbWriteToOutStream;
- /// ForMerge structure is used for sorting elements in Writer
- std::shared_ptr< ForMergeBase > mpForMerge;
public:
- CachedOutputStream() : mnCacheWrittenSize(0)
- , mpCache(mnMaximumSize)
+ CachedOutputStream() : mpCache(mnMaximumSize)
, pSeq(mpCache.get())
+ , mnCacheWrittenSize(0)
, mbWriteToOutStream(true)
{}