summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-14 21:14:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-17 20:10:50 +0000
commit3b238706737c36d4772ec3f95b52fbde978bf20a (patch)
tree592679f982c113a495bdf81f5f4787cc99688fc8 /tools
parentf44928cbd51fc7d08e2b81dcdf837650cd215847 (diff)
callcatcher: remove another layer of binfilter-released methods
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/inetmime.hxx3
-rw-r--r--tools/source/inet/inetmime.cxx31
2 files changed, 0 insertions, 34 deletions
diff --git a/tools/inc/tools/inetmime.hxx b/tools/inc/tools/inetmime.hxx
index 296a08e50a9a..53f097f60c6e 100644
--- a/tools/inc/tools/inetmime.hxx
+++ b/tools/inc/tools/inetmime.hxx
@@ -414,9 +414,6 @@ public:
pBegin,
const sal_Unicode * pEnd);
- static const sal_Char * skipComment(const sal_Char * pBegin,
- const sal_Char * pEnd);
-
static const sal_Unicode * skipComment(const sal_Unicode * pBegin,
const sal_Unicode * pEnd);
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index 834583e01c67..2aa1a7ee005c 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -513,37 +513,6 @@ const sal_Unicode * INetMIME::skipLinearWhiteSpace(const sal_Unicode * pBegin,
}
// static
-const sal_Char * INetMIME::skipComment(const sal_Char * pBegin,
- const sal_Char * pEnd)
-{
- DBG_ASSERT(pBegin && pBegin <= pEnd,
- "INetMIME::skipComment(): Bad sequence");
-
- if (pBegin != pEnd && *pBegin == '(')
- {
- sal_uInt32 nLevel = 0;
- for (const sal_Char * p = pBegin; p != pEnd;)
- switch (*p++)
- {
- case '(':
- ++nLevel;
- break;
-
- case ')':
- if (--nLevel == 0)
- return p;
- break;
-
- case '\\':
- if (p != pEnd)
- ++p;
- break;
- }
- }
- return pBegin;
-}
-
-// static
const sal_Unicode * INetMIME::skipComment(const sal_Unicode * pBegin,
const sal_Unicode * pEnd)
{