diff options
Diffstat (limited to 'sot/source/sdstor/stgelem.cxx')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index 45ad9679a744..2c6cd6245c87 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -367,7 +367,7 @@ bool StgEntry::Load( const void* pFrom, sal_uInt32 nBufSize ) if ( nBufSize < 128 ) return false; - SvMemoryStream r( (sal_Char*) pFrom, nBufSize, STREAM_READ ); + SvMemoryStream r( (sal_Char*) pFrom, nBufSize, StreamMode::READ ); for( short i = 0; i < 32; i++ ) r.ReadUInt16( nName[ i ] ); // 00 name as WCHAR r.ReadUInt16( nNameLen ) // 40 size of name in bytes including 00H @@ -413,7 +413,7 @@ bool StgEntry::Load( const void* pFrom, sal_uInt32 nBufSize ) void StgEntry::Store( void* pTo ) { - SvMemoryStream r( (sal_Char *)pTo, 128, STREAM_WRITE ); + SvMemoryStream r( (sal_Char *)pTo, 128, StreamMode::WRITE ); for( short i = 0; i < 32; i++ ) r.WriteUInt16( nName[ i ] ); // 00 name as WCHAR r.WriteUInt16( nNameLen ) // 40 size of name in bytes including 00H |