summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/pstm.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index 4bd0d80bd1e0..3a7435de81bf 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -244,17 +244,7 @@ void SvPersistStream::WriteCompressed( SvStream & rStm, sal_uInt32 nVal )
*/
sal_uInt32 SvPersistStream::WriteDummyLen()
{
-#ifdef DBG_UTIL
- sal_uInt32 nPos = Tell();
-#endif
- sal_uInt32 n0 = 0;
- WriteUInt32( n0 ); // Because of Sun sp
- // Don't assert on stream error
-#ifdef DBG_UTIL
- DBG_ASSERT( GetError() != SVSTREAM_OK
- || (sizeof( sal_uInt32 ) == Tell() -nPos),
- "No 4 byte as length parameter" );
-#endif
+ WriteUInt32( 0 );
return Tell();
}