summaryrefslogtreecommitdiff
path: root/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 /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 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index b8c2db217add..d4860be20849 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -3384,7 +3384,7 @@ bool INetURLObject::hasDosVolume(FSysStyle eStyle) const
// static
OUString INetURLObject::encodeText(sal_Unicode const * pBegin,
- sal_Unicode const * pEnd, bool bOctets,
+ sal_Unicode const * pEnd,
Part ePart, EncodeMechanism eMechanism,
rtl_TextEncoding eCharset,
bool bKeepVisibleEscapes)
@@ -3393,9 +3393,9 @@ OUString INetURLObject::encodeText(sal_Unicode const * pBegin,
while (pBegin < pEnd)
{
EscapeType eEscapeType;
- sal_uInt32 nUTF32 = getUTF32(pBegin, pEnd, bOctets,
+ sal_uInt32 nUTF32 = getUTF32(pBegin, pEnd, /*bOctets*/false,
eMechanism, eCharset, eEscapeType);
- appendUCS4(aResult, nUTF32, eEscapeType, bOctets, ePart,
+ appendUCS4(aResult, nUTF32, eEscapeType, /*bOctets*/false, ePart,
eCharset, bKeepVisibleEscapes);
}
return aResult.makeStringAndClear();