diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-24 20:32:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:25:40 +0200 |
commit | 8f684e21de081350f0ce1f0bd0420f4775c5388d (patch) | |
tree | 66da106d499159a5ee1da6e6fdfe3b95a46d9a4e /sfx2 | |
parent | ebdc36c12dbdd8bc2305adabf83c95c666f7b04f (diff) |
remove unnecessary static_cast's
left over from our conversion of the SvStream output operators
to more specific methods
e Please enter the commit message for your changes. Lines starting
Change-Id: Ibfe7635451ef7b8813d7a59c78c5223092a17ad5
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index a6c6a247650d..39aa8770343d 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -370,7 +370,7 @@ void SfxOleStringHelper::ImplSaveString16( SvStream& rStrm, const OUString& rVal rStrm.WriteInt32( nSize ); // write character array with trailing NUL character for( sal_Int32 nIdx = 0; nIdx < rValue.getLength(); ++nIdx ) - rStrm.WriteUInt16( static_cast< sal_uInt16 >( rValue[ nIdx ] ) ); + rStrm.WriteUInt16( rValue[ nIdx ] ); rStrm.WriteUInt16( sal_uInt16( 0 ) ); // stream is always padded to 32-bit boundary, add 2 bytes on odd character count if( (nSize & 1) == 1 ) @@ -483,7 +483,7 @@ void SfxOleBoolProperty::ImplLoad( SvStream& rStrm ) void SfxOleBoolProperty::ImplSave( SvStream& rStrm ) { - rStrm.WriteInt16( static_cast< sal_Int16 >( mbValue ? -1 : 0 ) ); + rStrm.WriteInt16( mbValue ? -1 : 0 ); } |