diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 20:16:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:27:17 +0200 |
commit | 04fd62096fca2c0b917ac6172104399e65933585 (patch) | |
tree | 3e1d4e9c8b9aed6b308103c5e235f71ec3b2cce1 /svl | |
parent | 5501c8d2220ee3cab703d09d348e99ba3e017dba (diff) |
remove unnecessary casts in calls to SvStream.WriteInt32
left over from our conversion of the SvStream output operators
to more specific methods
Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolio.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/slstitm.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index d5ea23d04f7a..e3adb6f172c1 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -1421,7 +1421,7 @@ bool SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem, rItem.Store(rStream, nItemVersion); sal_uLong nIEnd = rStream.Tell(); rStream.Seek( nIStart-4 ); - rStream.WriteInt32( (sal_Int32) ( nIEnd-nIStart ) ); + rStream.WriteInt32( ( nIEnd-nIStart ) ); rStream.Seek( nIEnd ); } diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index 5fd9450be63c..ef5e6aefedb7 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -172,7 +172,7 @@ SvStream& SfxStringListItem::Store( SvStream & rStream, sal_uInt16 ) const { if( !pImp ) { - rStream.WriteInt32( (sal_Int32) 0 ); + rStream.WriteInt32( 0 ); return rStream; } |