summaryrefslogtreecommitdiff
path: root/tools/source/inet
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/inet')
-rw-r--r--tools/source/inet/inetmime.cxx31
1 files changed, 0 insertions, 31 deletions
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)
{