summaryrefslogtreecommitdiff
path: root/include/tools/inetmsg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 11:59:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 07:42:04 +0100
commitef5471959f21ebc4599146d672165513d92d344a (patch)
tree132c5292d014e88cfde380c1832e892d2de1e3c2 /include/tools/inetmsg.hxx
parent8772a64f430ab097af7daf8377a6a55a1ecca7d9 (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 'include/tools/inetmsg.hxx')
-rw-r--r--include/tools/inetmsg.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx
index e1b26dbe43b7..445c3a60922c 100644
--- a/include/tools/inetmsg.hxx
+++ b/include/tools/inetmsg.hxx
@@ -78,14 +78,14 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC INetMIMEMessage
SvLockBytesRef m_xDocLB;
- ::std::map<InetMessageMime, sal_uIntPtr> m_nMIMEIndex;
+ ::std::map<InetMessageMime, sal_uInt32> m_nMIMEIndex;
INetMIMEMessage* pParent;
::std::vector< std::unique_ptr<INetMIMEMessage> >
aChildren;
OString m_aBoundary;
OUString GetHeaderValue_Impl (
- sal_uIntPtr nIndex) const
+ sal_uInt32 nIndex) const
{
if ( nIndex < m_aHeaderList.size() ) {
return INetMIME::decodeHeaderFieldBody(m_aHeaderList[ nIndex ]->GetValue());
@@ -95,7 +95,7 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC INetMIMEMessage
}
void SetHeaderField_Impl (
- const INetMessageHeader &rHeader, sal_uIntPtr &rnIndex)
+ const INetMessageHeader &rHeader, sal_uInt32 &rnIndex)
{
INetMessageHeader *p = new INetMessageHeader (rHeader);
if (m_aHeaderList.size() <= rnIndex)
@@ -112,7 +112,7 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC INetMIMEMessage
void SetHeaderField_Impl (
const OString &rName,
const OUString &rValue,
- sal_uIntPtr &rnIndex);
+ sal_uInt32 &rnIndex);
bool IsMessage() const
{
@@ -127,9 +127,9 @@ public:
INetMIMEMessage();
~INetMIMEMessage();
- sal_uIntPtr GetHeaderCount() const { return m_aHeaderList.size(); }
+ sal_uInt32 GetHeaderCount() const { return m_aHeaderList.size(); }
- INetMessageHeader GetHeaderField (sal_uIntPtr nIndex) const
+ INetMessageHeader GetHeaderField (sal_uInt32 nIndex) const
{
if ( nIndex < m_aHeaderList.size() ) {
return *m_aHeaderList[ nIndex ];
@@ -169,7 +169,7 @@ public:
return aType.matchIgnoreAsciiCase("multipart/");
}
- INetMIMEMessage* GetChild (sal_uIntPtr nIndex) const
+ INetMIMEMessage* GetChild (sal_uInt32 nIndex) const
{
return ( nIndex < aChildren.size() ) ? aChildren[ nIndex ].get() : nullptr;
}