diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-11 15:49:07 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-12 00:59:54 +0200 |
commit | b468c1c0aefbc512d1d98641babfbc1d17691c86 (patch) | |
tree | 6c6baf70b480a8cb2be409f1571911bf48f29e46 /tools | |
parent | 774c85c86cca143ca908bbe6cd57aa5495106512 (diff) |
callcatcher: remove unused INetURLObject::getIMAPUID
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/urlobj.hxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 27 |
2 files changed, 0 insertions, 31 deletions
diff --git a/tools/inc/tools/urlobj.hxx b/tools/inc/tools/urlobj.hxx index b4a10683beac..e8d93a5abadf 100644 --- a/tools/inc/tools/urlobj.hxx +++ b/tools/inc/tools/urlobj.hxx @@ -1434,10 +1434,6 @@ private: TOOLS_DLLPRIVATE bool hasDosVolume(FSysStyle eStyle) const; - // IMAP URLs: - - TOOLS_DLLPRIVATE sal_uInt32 getIMAPUID() const; - // Coding: static inline rtl::OUString extend(ByteString const & rOctets) diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 7d4c1ad353a6..20917846e2bb 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -3695,33 +3695,6 @@ bool INetURLObject::hasDosVolume(FSysStyle eStyle) const } //============================================================================ -sal_uInt32 INetURLObject::getIMAPUID() const -{ - if (m_eScheme == INET_PROT_IMAP - && m_aPath.getLength() >= RTL_CONSTASCII_LENGTH("/;uid=") + 1) - { - sal_Unicode const * pBegin = m_aAbsURIRef.getStr() - + m_aPath.getBegin() - + RTL_CONSTASCII_LENGTH("/;uid="); - sal_Unicode const * pEnd = pBegin + m_aPath.getLength(); - sal_Unicode const * p = pEnd; - while (p > pBegin && INetMIME::isDigit(p[-1])) - --p; - if (p < pEnd && *--p != '0' - && rtl::OUString(m_aAbsURIRef).copy( - p - RTL_CONSTASCII_LENGTH("/;uid=") - m_aAbsURIRef.getStr(), - RTL_CONSTASCII_LENGTH("/;uid=")).equalsIgnoreAsciiCaseAscii("/;uid=") - ) - { - sal_uInt32 nUID; - if (INetMIME::scanUnsigned(p, pEnd, false, nUID)) - return nUID; - } - } - return 0; -} - -//============================================================================ // static rtl::OUString INetURLObject::encodeText(sal_Unicode const * pBegin, sal_Unicode const * pEnd, bool bOctets, |