diff options
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 ); } |