summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-11 15:44:31 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-12 00:59:54 +0200
commit7b8416199a530f602b99f71793e678dacdb6bd1e (patch)
treeeffe0590f3fe16309ce70b9c0f6d21f9bc36a6a7 /tools
parent07924e674e03ea7301c6f635a416120a37c6f4c6 (diff)
callcatcher: remove unused INetURLObject::CutName
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/urlobj.hxx3
-rw-r--r--tools/source/fsys/urlobj.cxx8
2 files changed, 0 insertions, 11 deletions
diff --git a/tools/inc/tools/urlobj.hxx b/tools/inc/tools/urlobj.hxx
index 67342db5d161..d92455e7cebc 100644
--- a/tools/inc/tools/urlobj.hxx
+++ b/tools/inc/tools/urlobj.hxx
@@ -1279,9 +1279,6 @@ public:
= RTL_TEXTENCODING_UTF8) const
{ return GetLastName(eMechanism, eCharset); }
- rtl::OUString CutName(DecodeMechanism eMechanism = DECODE_TO_IURI,
- rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
-
void SetExtension(rtl::OUString const & rTheExtension,
EncodeMechanism eMechanism = WAS_ENCODED,
rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 6a855d7d85c8..faf22551dc4f 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -5593,14 +5593,6 @@ void INetURLObject::SetName(rtl::OUString const & rTheName,
}
//============================================================================
-rtl::OUString INetURLObject::CutName(DecodeMechanism eMechanism,
- rtl_TextEncoding eCharset)
-{
- rtl::OUString aTheName(getName(LAST_SEGMENT, true, eMechanism, eCharset));
- return removeSegment(LAST_SEGMENT, true) ? aTheName : rtl::OUString();
-}
-
-//============================================================================
void INetURLObject::SetExtension(rtl::OUString const & rTheExtension,
EncodeMechanism eMechanism,
rtl_TextEncoding eCharset)