From e5c05fab9e453f32a94aad4487764bf58b70573c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 15 Oct 2009 15:49:10 -0400 Subject: #i105933# Re-enable encryption at the end of INTERFACEEND record & properly encrypt zero bytes in the CF records. --- sc/source/filter/inc/xestream.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sc/source/filter/inc/xestream.hxx') diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx index 857d756e2133..20008f10e08d 100644 --- a/sc/source/filter/inc/xestream.hxx +++ b/sc/source/filter/inc/xestream.hxx @@ -126,6 +126,9 @@ public: sal_Size Write( const void* pData, sal_Size nBytes ); /** Writes a sequence of nBytes zero bytes (respects slice setting). */ void WriteZeroBytes( sal_Size nBytes ); + + void WriteZeroBytesToRecord( sal_Size nBytes ); + /** Copies nBytes bytes from current position of the stream rInStrm. @descr Omitting the second parameter means: read to end of stream. */ sal_Size CopyFromStream( SvStream& rInStrm, sal_Size nBytes = STREAM_SEEK_TO_END ); -- cgit