summaryrefslogtreecommitdiff
path: root/tools/source/inet/inetmsg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/inet/inetmsg.cxx')
-rw-r--r--tools/source/inet/inetmsg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index bdc7489c52c8..427cc26cbc78 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -103,7 +103,7 @@ sal_uIntPtr INetMessage::SetHeaderField (
SvStream& INetMessage::operator<< (SvStream& rStrm) const
{
rStrm.WriteUInt32( static_cast<sal_uInt32>(m_nDocSize) );
- write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStrm, m_aDocName, RTL_TEXTENCODING_UTF8);
+ 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) );
@@ -1018,7 +1018,7 @@ SvStream& INetMIMEMessage::operator<< (SvStream& rStrm) const
for (sal_uInt16 i = 0; i < INETMSG_MIME_NUMHDR; i++)
rStrm.WriteUInt32( static_cast<sal_uInt32>(m_nIndex[i]) );
- write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStrm, m_aBoundary);
+ write_uInt16_lenPrefixed_uInt8s_FromOString(rStrm, m_aBoundary);
rStrm.WriteUInt32( static_cast<sal_uInt32>(aChildren.size()) );
return rStrm;
Stephan Bergmann Change-Id: I875cc2fc868fb4f1f45e90320e1fdaf70fe871d8 2016-02-04coverity#1326400 Dereference null return valueCaolán McNamara Change-Id: Ie28d817d7be24b2de19f51e11786c0396a2e016f 2015-12-30coverity#1326973 SBSC: String concatenation in loop using + operatorCaolán McNamara Change-Id: I8fb8afa2951201106443f76fde3f55ead24d43c2 2015-12-21related tdf#86784: new API got backported to 5.1Thorsten Behrens Change-Id: Id195e487a029424e490008915f0df513a32b22b0 2015-12-21cid#1343654 FindBugs: Bad practice (FB.DMI_RANDOM_USED_ONLY_ONCE)Stephan Bergmann Change-Id: Ifbc362835bc62578851a029e9c5ce8c20184846a 2015-12-20Fix @since tagsStephan Bergmann Change-Id: I0ef45caae00ba056fd5feffb1b393b024775db5e 2015-12-18tdf#86784: Pass custom options to Java bootstrapKatarina Behrens Change-Id: I9e9c78387627e173dea8062e4a3f16bc396e8115 Reviewed-on: https://gerrit.libreoffice.org/20720 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195 2015-11-05java: combine nested if statementsNoel Grandin Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba 2015-10-15coverity#1326731 Dm: Dubious method usedCaolán McNamara and coverity#1326732 Dm: Dubious method used coverity#1326734 Dm: Dubious method used coverity#1326735 Dm: Dubious method used coverity#1326739 Dm: Dubious method used Change-Id: Id9d39decf7442b503079ebcfe8c881f0f2fe3eb3 2015-10-15cid#1326115 Unchecked return valueNoel Grandin and drop some truly bizarre and unnecessary code Change-Id: I105ba8784b6c4179a3cd7ad5bf9a250fd680d64a 2015-10-14cid#1326733 Dm: Dubious method usedNoel Grandin there is no point in re-decoding a Java String object, it is already UTF-16 Change-Id: Iedc59d457422d32b306782f24cac9b6c2f6b04fe 2015-10-14use early returns to make method easier to readNoel Grandin Change-Id: Iabaedbd51d3832eff8e7470fd586132c38e1d039 2015-09-30Fix typosAndrea Gelmini Change-Id: I44bdb63bef76e9686e995661a24a3bef7cd50ab7 Reviewed-on: https://gerrit.libreoffice.org/18959 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>