summaryrefslogtreecommitdiff
path: root/include/tools/urlobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-10 09:51:51 +0200
committerNoel Grandin <noel@peralex.com>2016-03-10 10:09:59 +0200
commit3915ffc46fc063fa1f9be68c29a4157984f1bdb3 (patch)
treeabbd427b68c7d683125e60b26340c2e5e83b852c /include/tools/urlobj.hxx
parent4358dc795cbd2b49aa87c89795cf63413b82400c (diff)
loplugin:constantparam in tools
Change-Id: Ibd093ba4e8140ed3fda87ef340280433302f82a5
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r--include/tools/urlobj.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index b127150739ce..ac18bf13e7db 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -731,10 +731,9 @@ public:
inline bool HasParam() const { return m_aQuery.isPresent(); }
- inline OUString GetParam(DecodeMechanism eMechanism = DECODE_TO_IURI,
- rtl_TextEncoding eCharset
+ inline OUString GetParam(rtl_TextEncoding eCharset
= RTL_TEXTENCODING_UTF8) const
- { return decode(m_aQuery, eMechanism, eCharset); }
+ { return decode(m_aQuery, NO_DECODE, eCharset); }
inline bool SetParam(OUString const & rTheQuery,
EncodeMechanism eMechanism = WAS_ENCODED,
@@ -800,8 +799,7 @@ public:
// POP3 and URLs:
- static OUString GetMsgId(DecodeMechanism eMechanism = DECODE_TO_IURI,
- rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
+ static OUString GetMsgId(rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
// Coding: