diff options
Diffstat (limited to 'svx/source/xoutdev/xexch.cxx')
-rw-r--r-- | svx/source/xoutdev/xexch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xexch.cxx b/svx/source/xoutdev/xexch.cxx index 693f6a7f6a6f..3df1f820f3fc 100644 --- a/svx/source/xoutdev/xexch.cxx +++ b/svx/source/xoutdev/xexch.cxx @@ -96,7 +96,7 @@ SvStream& ReadXFillExchangeData( SvStream& rIStm, XFillExchangeData& rData ) sal_uInt32 nItemCount = 0; sal_uInt16 nWhich, nItemVersion; - rIStm >> nItemCount; + rIStm.ReadUInt32( nItemCount ); if( nItemCount > ( XATTR_FILL_LAST - XATTR_FILL_FIRST + 1 ) ) nItemCount = ( XATTR_FILL_LAST - XATTR_FILL_FIRST + 1 ); @@ -105,7 +105,7 @@ SvStream& ReadXFillExchangeData( SvStream& rIStm, XFillExchangeData& rData ) { VersionCompat aCompat( rIStm, STREAM_READ ); - rIStm >> nWhich >> nItemVersion; + rIStm.ReadUInt16( nWhich ).ReadUInt16( nItemVersion ); if( nWhich ) { |