diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 19:15:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 22:19:23 +0200 |
commit | 984780243c9a1ab1242f3af719c6dca3ddacf67a (patch) | |
tree | 93d712d116fef0353ee947eff2c92f1f69620b2c /include/tools/inetmsg.hxx | |
parent | 8e8ad3f697c4caf0e48edf0953e706625fba47bb (diff) |
HEADER_FIELD_TEXT is the only used HeaderFieldType
Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7
Diffstat (limited to 'include/tools/inetmsg.hxx')
-rw-r--r-- | include/tools/inetmsg.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx index fa4d159dd147..2d83469d71d2 100644 --- a/include/tools/inetmsg.hxx +++ b/include/tools/inetmsg.hxx @@ -83,10 +83,10 @@ class TOOLS_DLLPUBLIC INetMIMEMessage OString m_aBoundary; OUString GetHeaderValue_Impl ( - sal_uIntPtr nIndex, INetMIME::HeaderFieldType eType) const + sal_uIntPtr nIndex) const { if ( nIndex < m_aHeaderList.size() ) { - return INetMIME::decodeHeaderFieldBody(eType, m_aHeaderList[ nIndex ]->GetValue()); + return INetMIME::decodeHeaderFieldBody(m_aHeaderList[ nIndex ]->GetValue()); } else { return OUString(); } @@ -109,7 +109,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessage } void SetHeaderField_Impl ( - INetMIME::HeaderFieldType eType, const OString &rName, const OUString &rValue, sal_uIntPtr &rnIndex); @@ -150,8 +149,7 @@ public: OUString GetContentType() const { return GetHeaderValue_Impl( - m_nMIMEIndex.at(InetMessageMime::CONTENT_TYPE), - INetMIME::HEADER_FIELD_TEXT); + m_nMIMEIndex.at(InetMessageMime::CONTENT_TYPE)); } void SetContentTransferEncoding (const OUString& rEncoding); |