[Libreoffice-commits] core.git: svl/source
Douglas Mencken
dougmencken at gmail.com
Tue Feb 25 05:41:42 PST 2014
svl/source/filerec/filerec.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 52d3e89bc2a6af3f7411c1d95de879c106580d76
Author: Douglas Mencken <dougmencken at gmail.com>
Date: Mon Feb 24 11:21:33 2014 -0500
svl: don't forget about big-endian parts in filerec.cxx
Fixes:
(build error) filerec.cxx:591: error: no match for 'operator>>'
Change-Id: I412cc9121c50830069e8e71c35dfb4f8ce475357
Reviewed-on: https://gerrit.libreoffice.org/8206
Tested-by: Michael Stahl <mstahl at redhat.com>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 3a7b24b..5d397ea 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -588,7 +588,7 @@ bool SfxMultiRecordReader::ReadHeader_Impl()
_pStream->Read( _pContentOfs, sizeof(sal_uInt32)*_nContentCount );
#else
for ( sal_uInt16 n = 0; n < _nContentCount; ++n )
- *_pStream >> _pContentOfs[n];
+ _pStream->ReadUInt32( _pContentOfs[n] );
#endif
_pStream->Seek( nContentPos );
}
More information about the Libreoffice-commits
mailing list