diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-18 23:30:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-19 09:32:43 +0100 |
commit | c0f93aac002a1bec3aef4eb137012722bba5aba6 (patch) | |
tree | e84f8cfa9e66013ae802d5cfd582fc7524a14edf /tools | |
parent | 40bbd3a61ae980840999b2410f681cae4c341531 (diff) |
callcatcher: unused INetMIME::getDigit
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/inetmime.hxx | 9 | ||||
-rw-r--r-- | tools/source/inet/inetmime.cxx | 12 |
2 files changed, 0 insertions, 21 deletions
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 @@ -492,18 +492,6 @@ bool INetMIME::isIMAPAtomChar(sal_uInt32 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) { DBG_ASSERT(nWeight >= 0 && nWeight < 16, |