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.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index f72f2521a2b2..a1244bd7eba6 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -574,12 +574,18 @@ public:
@param rTheName The new name.
+ @param eMechanism See the general discussion for get-methods.
+
+ @param eCharset See the general discussion for get-methods.
+
@return True if the name has successfully been modified (and the
resulting URI is still valid). If the path is not hierarchical, or
the specified segment does not exist, false is returned. If false is
returned, the object is not modified.
*/
- bool setName(OUString const & rTheName);
+ bool setName(OUString const& rTheName,
+ EncodeMechanism eMechanism = EncodeMechanism::WasEncoded,
+ rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
/** Get the base of the name of a segment.
@@ -926,10 +932,6 @@ public:
OUString GetBase() const;
- void SetName(OUString const & rTheName,
- EncodeMechanism eMechanism = EncodeMechanism::WasEncoded,
- rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
-
void SetExtension(OUString const & rTheExtension);
OUString CutExtension();