summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-24 20:32:49 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:25:40 +0200
commit8f684e21de081350f0ce1f0bd0420f4775c5388d (patch)
tree66da106d499159a5ee1da6e6fdfe3b95a46d9a4e /tools
parentebdc36c12dbdd8bc2305adabf83c95c666f7b04f (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 'tools')
-rw-r--r--tools/source/inet/inetmsg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index d1571d95970f..01b753cf9f8a 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -102,11 +102,11 @@ sal_uIntPtr INetMessage::SetHeaderField (
SvStream& INetMessage::operator<< (SvStream& rStrm) const
{
- rStrm.WriteUInt32( static_cast<sal_uInt32>(m_nDocSize) );
+ rStrm.WriteUInt32( m_nDocSize );
write_uInt16_lenPrefixed_uInt8s_FromOUString(rStrm, m_aDocName, RTL_TEXTENCODING_UTF8);
sal_uIntPtr i, n = m_aHeaderList.size();
- rStrm.WriteUInt32( static_cast<sal_uInt32>(n) );
+ rStrm.WriteUInt32( n );
for (i = 0; i < n; i++)
WriteINetMessageHeader( rStrm, *( m_aHeaderList[ i ] ) );
@@ -611,7 +611,7 @@ SvStream& INetRFC822Message::operator<< (SvStream& rStrm) const
INetMessage::operator<< (rStrm);
for (sal_uInt16 i = 0; i < INETMSG_RFC822_NUMHDR; i++)
- rStrm.WriteUInt32( static_cast<sal_uInt32>(m_nIndex[i]) );
+ rStrm.WriteUInt32( m_nIndex[i] );
return rStrm;
}
@@ -1017,10 +1017,10 @@ SvStream& INetMIMEMessage::operator<< (SvStream& rStrm) const
INetRFC822Message::operator<< (rStrm);
for (sal_uInt16 i = 0; i < INETMSG_MIME_NUMHDR; i++)
- rStrm.WriteUInt32( static_cast<sal_uInt32>(m_nIndex[i]) );
+ rStrm.WriteUInt32( m_nIndex[i] );
write_uInt16_lenPrefixed_uInt8s_FromOString(rStrm, m_aBoundary);
- rStrm.WriteUInt32( static_cast<sal_uInt32>(aChildren.size()) );
+ rStrm.WriteUInt32( aChildren.size() );
return rStrm;
}