summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 14:22:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 14:30:35 +0100
commita1b58e93f631c6bfd92fc8269da89c74e3784d58 (patch)
treef4c41dfaf52962712557a101294959555b673ef4 /include/tools
parent03782946065d8a31808f1dab9bc848d349d623f1 (diff)
loplugin:constantparam
Change-Id: I3ce653c0d9e517229dbbe32cc8d3ec3c206e364d Reviewed-on: https://gerrit.libreoffice.org/51273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/urlobj.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 819cc3136596..3624d2f89122 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -1126,7 +1126,7 @@ private:
OUStringBuffer & rTheText, sal_uInt32 nOctet);
static OUString encodeText(
- sal_Unicode const * pBegin, sal_Unicode const * pEnd, bool bOctets,
+ sal_Unicode const * pBegin, sal_Unicode const * pEnd,
Part ePart, EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bKeepVisibleEscapes);
@@ -1157,7 +1157,7 @@ inline OUString INetURLObject::encodeText(OUString const & rTheText,
bool bKeepVisibleEscapes)
{
return encodeText(rTheText.getStr(),
- rTheText.getStr() + rTheText.getLength(), /*bOctets*/false, ePart,
+ rTheText.getStr() + rTheText.getLength(), ePart,
eMechanism, eCharset, bKeepVisibleEscapes);
}