summaryrefslogtreecommitdiff
path: root/tools/source/zcodec
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-21 17:15:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-21 17:35:56 +0200
commit4f1cf09c8a33c871f9cc0e893d0fbe8003ca16e1 (patch)
treed9f7765d5ad8ae0fad886911e4f4c633c88963de /tools/source/zcodec
parentbbfa7a65cf6c92326b9e54bf1ff6019b4fb65f67 (diff)
Add assertion
Change-Id: Ibe2f5f4ad52510247fb4134f433bba4b737d9c33
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;