summaryrefslogtreecommitdiffstats
path: root/include/tools/inetmsg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-06 12:44:59 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-12 15:32:11 +0000
commitb2878af3223c438abeecc77d9976e56db31a5b49 (patch)
tree74ccf2cfdbec9093671eb98cb58dfe57f27461f1 /include/tools/inetmsg.hxx
parentconvert SvStream::operator>> methods to ReadXXX methods (diff)
downloadcore-b2878af3223c438abeecc77d9976e56db31a5b49.tar.gz
core-b2878af3223c438abeecc77d9976e56db31a5b49.zip
more SvStream:operator>> conversion
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/tools/inetmsg.hxx')
-rw-r--r--include/tools/inetmsg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx
index 1f9e47715e71..0e954ca82792 100644
--- a/include/tools/inetmsg.hxx
+++ b/include/tools/inetmsg.hxx
@@ -73,8 +73,8 @@ public:
friend SvStream& ReadINetMessageHeader (
SvStream& rStrm, INetMessageHeader& rHdr)
{
- rHdr.m_aName = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStrm);
- rHdr.m_aValue = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStrm);
+ rHdr.m_aName = read_uInt16_lenPrefixed_uInt8s_ToOString(rStrm);
+ rHdr.m_aValue = read_uInt16_lenPrefixed_uInt8s_ToOString(rStrm);
return rStrm;
}
};