summaryrefslogtreecommitdiff
path: root/include/tools/urlobj.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/urlobj.hxx')
-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);
}