summaryrefslogtreecommitdiff
path: root/svl/source/misc/urihelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 08:47:18 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-02 11:12:39 -0500
commit3de922d4a695e253d4ca2d42b70e0b35b52e9b7c (patch)
tree9d0055989b261d5b4dafaa5b78d5a472d71b8ec3 /svl/source/misc/urihelper.cxx
parent736cd289d4cdb0db61d92134bcc9d48aa7e79613 (diff)
convert DecodeMechanism to scoped enum
(cherry picked from commit bfde4866e07746eafa2f0d6173c29d805cc35ad0) Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
Diffstat (limited to 'svl/source/misc/urihelper.cxx')
-rw-r--r--svl/source/misc/urihelper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index acf4d0aa4e42..4673a8907079 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -534,7 +534,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = nUriEnd;
return
- aUri.GetMainURL(INetURLObject::DECODE_TO_IURI);
+ aUri.GetMainURL(INetURLObject::DecodeMechanism::ToIUri);
}
}
}
@@ -563,7 +563,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = nUriEnd;
return
- aUri.GetMainURL(INetURLObject::DECODE_TO_IURI);
+ aUri.GetMainURL(INetURLObject::DecodeMechanism::ToIUri);
}
}
}
@@ -612,7 +612,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = nUriEnd;
return
- aUri.GetMainURL(INetURLObject::DECODE_TO_IURI);
+ aUri.GetMainURL(INetURLObject::DecodeMechanism::ToIUri);
}
}
}
@@ -638,7 +638,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = nUriEnd;
return
- aUri.GetMainURL(INetURLObject::DECODE_TO_IURI);
+ aUri.GetMainURL(INetURLObject::DecodeMechanism::ToIUri);
}
}
}
@@ -667,7 +667,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = nUriEnd;
return
- aUri.GetMainURL(INetURLObject::DECODE_TO_IURI);
+ aUri.GetMainURL(INetURLObject::DecodeMechanism::ToIUri);
}
}
}
@@ -702,7 +702,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
rBegin = nPos;
rEnd = i;
return aUri.GetMainURL(
- INetURLObject::DECODE_TO_IURI);
+ INetURLObject::DecodeMechanism::ToIUri);
}
}
}