summaryrefslogtreecommitdiff
path: root/svl/source/filerec/filerec.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/filerec/filerec.cxx')
-rw-r--r--svl/source/filerec/filerec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index b4febf724453..fcf83f3f1380 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -504,7 +504,7 @@ bool SfxMultiRecordReader::ReadHeader_Impl()
_pContentOfs = new sal_uInt32[_nContentCount];
memset(_pContentOfs, 0, _nContentCount*sizeof(sal_uInt32));
#if defined(OSL_LITENDIAN)
- _pStream->Read( _pContentOfs, sizeof(sal_uInt32)*_nContentCount );
+ _pStream->ReadBytes( _pContentOfs, sizeof(sal_uInt32)*_nContentCount );
#else
// (loop without braces)
for ( sal_uInt16 n = 0; n < _nContentCount; ++n )