diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 08:44:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 10:07:10 +0200 |
commit | 1c5cae479bebd2d325182adc2c9821fd948fd1bd (patch) | |
tree | 639e50ced55620dc2d1e9eb5a7ed8a6298c4de09 /tools/source/inet/inetmime.cxx | |
parent | da24355234ec12f2f4c652113dbbb1216ba5492c (diff) |
loplugin:unusedmethods
Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672
Reviewed-on: https://gerrit.libreoffice.org/36718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source/inet/inetmime.cxx')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index da5dab7216cf..35afc28b73cb 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -1582,21 +1582,4 @@ void INetMIMEOutputSink::writeSequence(const sal_Char * pSequence) writeSequence(pSequence, pSequence + nLength); } -void INetMIMEOutputSink::writeSequence(const sal_Unicode * pBegin, - const sal_Unicode * pEnd) -{ - assert(pBegin && pBegin <= pEnd && - "INetMIMEOutputSink::writeSequence(): Bad sequence"); - - std::unique_ptr<sal_Char[]> pBufferBegin( new sal_Char[pEnd - pBegin] ); - sal_Char * pBufferEnd = pBufferBegin.get(); - while (pBegin != pEnd) - { - DBG_ASSERT(*pBegin < 256, - "INetMIMEOutputSink::writeSequence(): Bad octet"); - *pBufferEnd++ = sal_Char(*pBegin++); - } - writeSequence(pBufferBegin.get(), pBufferEnd); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |