diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-04 16:28:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-05 09:39:22 +0000 |
commit | 403c13487c36f4200adf0986c5d11398f719cd7a (patch) | |
tree | 21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /include/tools/inetmime.hxx | |
parent | 10560949f90e08fe4a04dd91c7d388c4998100e8 (diff) |
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba
Reviewed-on: https://gerrit.libreoffice.org/17506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/inetmime.hxx')
-rw-r--r-- | include/tools/inetmime.hxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx index 23b86f1a5739..78dd8e5f2db3 100644 --- a/include/tools/inetmime.hxx +++ b/include/tools/inetmime.hxx @@ -358,9 +358,6 @@ public: static inline bool startsWithLineBreak(const sal_Unicode * pBegin, const sal_Unicode * pEnd); - static inline bool startsWithLineFolding(const sal_Char * pBegin, - const sal_Char * pEnd); - static inline bool startsWithLineFolding(const sal_Unicode * pBegin, const sal_Unicode * pEnd); @@ -570,17 +567,6 @@ inline bool INetMIME::startsWithLineBreak(const sal_Unicode * pBegin, } // static -inline bool INetMIME::startsWithLineFolding(const sal_Char * pBegin, - const sal_Char * pEnd) -{ - DBG_ASSERT(pBegin && pBegin <= pEnd, - "INetMIME::startsWithLineFolding(): Bad sequence"); - - return pEnd - pBegin >= 3 && pBegin[0] == 0x0D && pBegin[1] == 0x0A - && isWhiteSpace(pBegin[2]); // CR, LF -} - -// static inline bool INetMIME::startsWithLineFolding(const sal_Unicode * pBegin, const sal_Unicode * pEnd) { |