summaryrefslogtreecommitdiff
path: root/include
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
parent4358dc795cbd2b49aa87c89795cf63413b82400c (diff)
loplugin:constantparam in tools
Change-Id: Ibd093ba4e8140ed3fda87ef340280433302f82a5
Diffstat (limited to 'include')
-rw-r--r--include/tools/pstm.hxx2
-rw-r--r--include/tools/urlobj.hxx8
2 files changed, 4 insertions, 6 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index ab7541682340..ffbaac1c0d9f 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -158,7 +158,7 @@ public:
Index nStartIdx = 1 );
virtual ~SvPersistStream();
- void SetStream( SvStream * pStream );
+ void ClearStream();
SvPersistBase * GetObject( Index nIdx ) const;
Index GetIndex( SvPersistBase * ) const;
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: