summaryrefslogtreecommitdiff
path: root/tools/inc/tools/urlobj.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-11 15:47:22 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-12 00:59:54 +0200
commitc54180baaab97c72d656771219d4111b19f1208e (patch)
tree4557d4273fb5910aaced574ea14c5af8e4ffe056 /tools/inc/tools/urlobj.hxx
parent9a9d12d8b9c81352019ca153d6754c46022c5618 (diff)
callcatcher: remove unused INetURLObject::encodeHostPort
Diffstat (limited to 'tools/inc/tools/urlobj.hxx')
-rw-r--r--tools/inc/tools/urlobj.hxx56
1 files changed, 0 insertions, 56 deletions
diff --git a/tools/inc/tools/urlobj.hxx b/tools/inc/tools/urlobj.hxx
index de779c0fa394..ca694e66d5ce 100644
--- a/tools/inc/tools/urlobj.hxx
+++ b/tools/inc/tools/urlobj.hxx
@@ -624,49 +624,6 @@ public:
void makePortCanonic();
- /** Encode the <hostport> part of a URL.
-
- @ATT Obsolete, because at the moment the <hostport> part of a URL may
- not contain any escape sequences anyway, and because this method does
- not inform the caller whether the given <hostport> part is legal.
-
- @param rTheHostPort The <hostport> part of a URL (for its
- interpretation, see the general discussion for set-methods).
-
- @param eMechanism See the general discussion for set-methods.
-
- @param eCharset See the general discussion for set-methods.
-
- @return The <hostport> part, encoded according to the given mechanism
- and charset ('forbidden' characters replaced by escape sequences).
- */
- static inline rtl::OUString encodeHostPort(ByteString const & rTheHostPort,
- EncodeMechanism eMechanism,
- rtl_TextEncoding eCharset
- = RTL_TEXTENCODING_UTF8);
-
- /** Encode the <hostport> part of a URL.
-
- @ATT Obsolete, because at the moment the <hostport> part of a URL may
- not contain any escape sequences anyway, and because this method does
- not inform the caller whether the given <hostport> part is legal.
-
- @param rTheHostPort The <hostport> part of a URL (for its
- interpretation, see the general discussion for set-methods).
-
- @param eMechanism See the general discussion for set-methods.
-
- @param eCharset See the general discussion for set-methods.
-
- @return The <hostport> part, encoded according to the given mechanism
- and charset ('forbidden' characters replaced by escape sequences).
- */
- static inline rtl::OUString encodeHostPort(rtl::OUString const & rTheHostPort,
- EncodeMechanism eMechanism,
- rtl_TextEncoding eCharset
- = RTL_TEXTENCODING_UTF8)
- { return encodeHostPort(rTheHostPort, false, eMechanism, eCharset); }
-
//========================================================================
// Path:
@@ -1423,10 +1380,6 @@ private:
EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bNetBiosName, rtl::OUStringBuffer* pCanonic);
- static rtl::OUString encodeHostPort(
- rtl::OUString const & rTheHostPort, bool bOctets,
- EncodeMechanism eMechanism, rtl_TextEncoding eCharset);
-
bool setHost(
rtl::OUString const & rTheHost, bool bOctets,
EncodeMechanism eMechanism, rtl_TextEncoding eCharset);
@@ -1817,15 +1770,6 @@ inline bool INetURLObject::SetUserAndPass(rtl::OUString const & rTheUser,
setPassword(rThePassword, false, eMechanism, eCharset));
}
-// static
-inline rtl::OUString INetURLObject::encodeHostPort(ByteString const &
- rTheHostPort,
- EncodeMechanism eMechanism,
- rtl_TextEncoding eCharset)
-{
- return encodeHostPort(extend(rTheHostPort), true, eMechanism, eCharset);
-}
-
inline bool INetURLObject::insertName(rtl::OUString const & rTheName,
bool bAppendFinalSlash,
sal_Int32 nIndex,