From c0f93aac002a1bec3aef4eb137012722bba5aba6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Jul 2011 23:30:36 +0100 Subject: callcatcher: unused INetMIME::getDigit --- tools/inc/tools/inetmime.hxx | 9 --------- tools/source/inet/inetmime.cxx | 12 ------------ 2 files changed, 21 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/inetmime.hxx b/tools/inc/tools/inetmime.hxx index cf8f8173cac7..4a3abe577101 100644 --- a/tools/inc/tools/inetmime.hxx +++ b/tools/inc/tools/inetmime.hxx @@ -352,15 +352,6 @@ public: */ static inline int getBase64Weight(sal_uInt32 nChar); - /** Get a decimal digit encoded as US-ASCII. - - @param nWeight Must be in the range 0--9, inclusive. - - @return The decimal digit corresponding to nWeight (US-ASCII - '0'--'9'). - */ - static sal_uInt32 getDigit(int nWeight); - /** Get a hexadecimal digit encoded as US-ASCII. @param nWeight Must be in the range 0--15, inclusive. diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 2442b768e426..d1178f29253e 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -490,18 +490,6 @@ bool INetMIME::isIMAPAtomChar(sal_uInt32 nChar) return isUSASCII(nChar) && aMap[nChar]; } -//============================================================================ -// static -sal_uInt32 INetMIME::getDigit(int nWeight) -{ - DBG_ASSERT(nWeight >= 0 && nWeight < 10, - "INetMIME::getDigit(): Bad weight"); - - static const sal_Char aDigits[16] - = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' }; - return aDigits[nWeight]; -} - //============================================================================ // static sal_uInt32 INetMIME::getHexDigit(int nWeight) -- cgit