diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-21 17:15:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-21 17:35:56 +0200 |
commit | 4f1cf09c8a33c871f9cc0e893d0fbe8003ca16e1 (patch) | |
tree | d9f7765d5ad8ae0fad886911e4f4c633c88963de /tools | |
parent | crash because iterator position wasn't changed in stl conversion (diff) | |
download | core-4f1cf09c8a33c871f9cc0e893d0fbe8003ca16e1.tar.gz core-4f1cf09c8a33c871f9cc0e893d0fbe8003ca16e1.zip |
Add assertion
Change-Id: Ibe2f5f4ad52510247fb4134f433bba4b737d9c33
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/zcodec/zcodec.cxx | 1 |
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; |