From 3b238706737c36d4772ec3f95b52fbde978bf20a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 14 Nov 2012 21:14:23 +0000 Subject: callcatcher: remove another layer of binfilter-released methods Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226 --- tools/inc/tools/inetmime.hxx | 3 --- tools/source/inet/inetmime.cxx | 31 ------------------------------- 2 files changed, 34 deletions(-) (limited to 'tools') 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 @@ -512,37 +512,6 @@ const sal_Unicode * INetMIME::skipLinearWhiteSpace(const sal_Unicode * pBegin, return 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) -- cgit