summaryrefslogtreecommitdiff
path: root/include/tools/urlobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 09:33:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 14:03:18 +0100
commit5be1ff2938321b4e29af32dc1b7eb4b898b250b4 (patch)
tree444af722665063b7193ac91c704db82659de5236 /include/tools/urlobj.hxx
parentdb378d64a9ca8675066fda31f3bd77dc37c52398 (diff)
loplugin:constantparam in tools
Change-Id: I639fd4f8990b495f8d572a280837afb7054f4837 Reviewed-on: https://gerrit.libreoffice.org/44047 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r--include/tools/urlobj.hxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index e5a4e5922ef3..fc03b9aa8f65 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -342,7 +342,6 @@ public:
static OUString
GetAbsURL(OUString const & rTheBaseURIRef,
OUString const & rTheRelURIRef,
- bool bIgnoreFragment = false,
EncodeMechanism eEncodeMechanism = EncodeMechanism::WasEncoded,
DecodeMechanism eDecodeMechanism = DecodeMechanism::ToIUri,
rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
@@ -1024,12 +1023,12 @@ private:
// External URLs:
static bool convertIntToExt(
- OUString const & rTheIntURIRef, bool bOctets,
+ OUString const & rTheIntURIRef,
OUString & rTheExtURIRef, DecodeMechanism eDecodeMechanism,
rtl_TextEncoding eCharset);
static bool convertExtToInt(
- OUString const & rTheExtURIRef, bool bOctets,
+ OUString const & rTheExtURIRef,
OUString & rTheIntURIRef, DecodeMechanism eDecodeMechanism,
rtl_TextEncoding eCharset);
@@ -1070,7 +1069,7 @@ private:
OUString & rCanonic);
TOOLS_DLLPRIVATE static bool parseHostOrNetBiosName(
- sal_Unicode const * pBegin, sal_Unicode const * pEnd, bool bOctets,
+ sal_Unicode const * pBegin, sal_Unicode const * pEnd,
EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bNetBiosName, OUStringBuffer* pCanonic);
@@ -1082,7 +1081,7 @@ private:
TOOLS_DLLPRIVATE static bool parsePath(
INetProtocol eScheme, sal_Unicode const ** pBegin,
- sal_Unicode const * pEnd, bool bOctets, EncodeMechanism eMechanism,
+ sal_Unicode const * pEnd, EncodeMechanism eMechanism,
rtl_TextEncoding eCharset, bool bSkippedInitialSlash,
sal_uInt32 nSegmentDelimiter, sal_uInt32 nAltSegmentDelimiter,
sal_uInt32 nQueryDelimiter, sal_uInt32 nFragmentDelimiter,
@@ -1264,7 +1263,7 @@ inline bool INetURLObject::translateToExternal(OUString const &
eDecodeMechanism,
rtl_TextEncoding eCharset)
{
- return convertIntToExt(rTheIntURIRef, false, rTheExtURIRef,
+ return convertIntToExt(rTheIntURIRef, rTheExtURIRef,
eDecodeMechanism, eCharset);
}
@@ -1276,7 +1275,7 @@ inline bool INetURLObject::translateToInternal(OUString const &
eDecodeMechanism,
rtl_TextEncoding eCharset)
{
- return convertExtToInt(rTheExtURIRef, false, rTheIntURIRef,
+ return convertExtToInt(rTheExtURIRef, rTheIntURIRef,
eDecodeMechanism, eCharset);
}