diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-14 23:48:49 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-10 02:12:36 +0200 |
commit | f9386c07b1431aaa7cc091effe3b0e0847790731 (patch) | |
tree | b31143b10f771d21422d145a77f4f414127620a2 /oox | |
parent | 4f1f317a0bf7436b1624d60df96a25f4a8b9a58b (diff) |
also write the chunks to the compressed stream
Change-Id: I4b079f0f5b83379e1c8c7c7d99a16b794ab36c11
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 904fbf9dd0fa..ea364bcdd082 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -297,6 +297,7 @@ void VBACompression::write() { sal_Size nChunkSize = nRemainingSize > 4096 ? 4096 : nRemainingSize; VBACompressionChunk aChunk(mrCompressedStream, &pData[nSize - nRemainingSize], nChunkSize); + aChunk.write(); // update the uncompressed chunk start marker nRemainingSize -= nChunkSize; |