diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 11:59:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 07:42:04 +0100 |
commit | ef5471959f21ebc4599146d672165513d92d344a (patch) | |
tree | 132c5292d014e88cfde380c1832e892d2de1e3c2 /tools | |
parent | 8772a64f430ab097af7daf8377a6a55a1ecca7d9 (diff) |
sal_uIntPtr->sal_uInt32 in m_nMIMEIndex
Change-Id: I1373f11f07679569ef338178e56ffd269baf3c30
Reviewed-on: https://gerrit.libreoffice.org/46224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmsg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx index b3dc426ad7b6..82b23232441f 100644 --- a/tools/source/inet/inetmsg.cxx +++ b/tools/source/inet/inetmsg.cxx @@ -30,7 +30,7 @@ void INetMIMEMessage::SetHeaderField_Impl ( const OString &rName, const OUString &rValue, - sal_uIntPtr &rnIndex) + sal_uInt32 &rnIndex) { SetHeaderField_Impl ( INetMessageHeader (rName, rValue.toUtf8()), rnIndex); @@ -213,7 +213,7 @@ INetMIMEMessage::INetMIMEMessage() : pParent(nullptr) { for (sal_uInt16 i = 0; i < static_cast<int>(InetMessageMime::NUMHDR); i++) - m_nMIMEIndex[static_cast<InetMessageMime>(i)] = CONTAINER_ENTRY_NOTFOUND; + m_nMIMEIndex[static_cast<InetMessageMime>(i)] = SAL_MAX_UINT32; } INetMIMEMessage::~INetMIMEMessage() |