diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 10:52:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 11:10:40 +0100 |
commit | 555fdbc6e9e04f8d4b7786c8b1a1faa5dd64a694 (patch) | |
tree | 4a3291b0f766cbb0212a48db6826420692e0d02a /tools | |
parent | c32e596e2457847afdac7b3162b19ad052d4da7c (diff) |
callcatcher: unused code
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/urlobj.hxx | 2 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/tools/inc/tools/urlobj.hxx b/tools/inc/tools/urlobj.hxx index f8caeee0d11a..6bd65878d7cb 100644 --- a/tools/inc/tools/urlobj.hxx +++ b/tools/inc/tools/urlobj.hxx @@ -963,8 +963,6 @@ public: EncodeMechanism eMechanism = WAS_ENCODED, rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8); - static rtl::OUString createFragment(rtl::OUString const & rText); - //======================================================================== // File URLs: diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index bf3cf2e95a4d..760d84d3287e 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -4681,22 +4681,6 @@ bool INetURLObject::removeFinalSlash() } //============================================================================ -// static -rtl::OUString INetURLObject::createFragment(rtl::OUString const & rText) -{ - rtl::OUString aFragment(rText); - for (sal_Int32 i = 0; i < aFragment.getLength();) - { - sal_Unicode c = aFragment.getStr()[i]; - if (mustEncode(c, PART_CREATEFRAGMENT)) - aFragment = aFragment.replaceAt(i, 1, rtl::OUString()); - else - ++i; - } - return aFragment; -} - -//============================================================================ bool INetURLObject::setFSysPath(rtl::OUString const & rFSysPath, FSysStyle eStyle) { |