summaryrefslogtreecommitdiff
path: root/tools/source/zcodec
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/zcodec')
-rw-r--r--tools/source/zcodec/zcodec.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index 2a0b88d4b843..da52d8b6a9ec 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -177,6 +177,7 @@ long ZCodec::Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize )
mpOStm = &rOStm;
ImplInitBuf( false );
}
+ assert(&rOStm == mpOStm);
PZSTREAM->avail_in = nSize;
PZSTREAM->next_in = (unsigned char*)pData;