summaryrefslogtreecommitdiffstats
path: root/include/tools/urlobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 13:48:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 18:23:53 +0100
commitc774ad610eb828742a3eea050e5a7571ba3b00be (patch)
tree5563215fe7b481f99efc96017d61ecd5c7a59072 /include/tools/urlobj.hxx
parentFix external/libassuan Linux RPATH (diff)
downloadcore-c774ad610eb828742a3eea050e5a7571ba3b00be.tar.gz
core-c774ad610eb828742a3eea050e5a7571ba3b00be.zip
loplugin:constantparam in svtools..unotools
Change-Id: I6e72fbe44dcb65ee5162448e9a72e6437d56b044 Reviewed-on: https://gerrit.libreoffice.org/50948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r--include/tools/urlobj.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 99780fa0e79d..819cc3136596 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -1131,7 +1131,7 @@ private:
bool bKeepVisibleEscapes);
static inline OUString encodeText(
- OUString const & rTheText, bool bOctets, Part ePart,
+ OUString const & rTheText, Part ePart,
EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bKeepVisibleEscapes);
@@ -1151,13 +1151,13 @@ private:
// static
inline OUString INetURLObject::encodeText(OUString const & rTheText,
- bool bOctets, Part ePart,
+ Part ePart,
EncodeMechanism eMechanism,
rtl_TextEncoding eCharset,
bool bKeepVisibleEscapes)
{
return encodeText(rTheText.getStr(),
- rTheText.getStr() + rTheText.getLength(), bOctets, ePart,
+ rTheText.getStr() + rTheText.getLength(), /*bOctets*/false, ePart,
eMechanism, eCharset, bKeepVisibleEscapes);
}
@@ -1324,7 +1324,7 @@ inline OUString INetURLObject::encode(OUString const & rText, Part ePart,
EncodeMechanism eMechanism,
rtl_TextEncoding eCharset)
{
- return encodeText(rText, false, ePart, eMechanism, eCharset, false);
+ return encodeText(rText, ePart, eMechanism, eCharset, false);
}
// static