diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 17:56:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:26:48 +0200 |
commit | 5501c8d2220ee3cab703d09d348e99ba3e017dba (patch) | |
tree | ce59b08fa7ad1192f3038266db1be0d64a05c0c3 /editeng/source/items/flditem.cxx | |
parent | dedfa972bc19f21e6fab7c38a64ae9543142f416 (diff) |
remove unnecessary casts in calls to SvStream.WriteUInt16
left over from our conversion of the SvStream output operators
to more specific methods
Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
Diffstat (limited to 'editeng/source/items/flditem.cxx')
-rw-r--r-- | editeng/source/items/flditem.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 73074e8e0c60..a5a02abd7c0d 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -432,8 +432,8 @@ void SvxDateField::Load( SvPersistStream & rStm ) void SvxDateField::Save( SvPersistStream & rStm ) { rStm.WriteUInt32( nFixDate ); - rStm.WriteUInt16( (sal_uInt16)eType ); - rStm.WriteUInt16( (sal_uInt16)eFormat ); + rStm.WriteUInt16( eType ); + rStm.WriteUInt16( eFormat ); } @@ -593,7 +593,7 @@ void SvxURLField::Load( SvPersistStream & rStm ) void SvxURLField::Save( SvPersistStream & rStm ) { - rStm.WriteUInt16( (sal_uInt16)eFormat ); + rStm.WriteUInt16( eFormat ); write_unicode( rStm, aURL ); write_unicode( rStm, aRepresentation ); @@ -841,8 +841,8 @@ void SvxExtTimeField::Load( SvPersistStream & rStm ) void SvxExtTimeField::Save( SvPersistStream & rStm ) { rStm.WriteInt64(m_nFixTime); - rStm.WriteUInt16( (sal_uInt16) eType ); - rStm.WriteUInt16( (sal_uInt16) eFormat ); + rStm.WriteUInt16( eType ); + rStm.WriteUInt16( eFormat ); } @@ -989,8 +989,8 @@ void SvxExtFileField::Save( SvPersistStream & rStm ) // UNICODE: rStm << aFile; rStm.WriteUniOrByteString(aFile, rStm.GetStreamCharSet()); - rStm.WriteUInt16( (sal_uInt16) eType ); - rStm.WriteUInt16( (sal_uInt16) eFormat ); + rStm.WriteUInt16( eType ); + rStm.WriteUInt16( eFormat ); } @@ -1145,8 +1145,8 @@ void SvxAuthorField::Save( SvPersistStream & rStm ) write_unicode( rStm, aFirstName ); write_unicode( rStm, aShortName ); - rStm.WriteUInt16( (sal_uInt16) eType ); - rStm.WriteUInt16( (sal_uInt16) eFormat ); + rStm.WriteUInt16( eType ); + rStm.WriteUInt16( eFormat ); } |