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 | |
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')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 17 | ||||
-rw-r--r-- | tools/source/rc/rc.cxx | 2 | ||||
-rw-r--r-- | tools/source/rc/resmgr.cxx | 9 |
3 files changed, 1 insertions, 27 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: */ diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx index 2fb97564a298..2b972a8145f9 100644 --- a/tools/source/rc/rc.cxx +++ b/tools/source/rc/rc.cxx @@ -21,8 +21,8 @@ #include <rtl/ustring.hxx> #include <tools/date.hxx> #include <tools/time.hxx> -#include <tools/rc.hxx> #include <tools/rcid.h> +#include <tools/resmgr.hxx> OUString ResId::toString() const { diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index db8f9c10e362..8ef96d78d56d 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -30,7 +30,6 @@ #include <tools/debug.hxx> #include <tools/stream.hxx> #include <tools/resmgr.hxx> -#include <tools/rc.hxx> #include <tools/rcid.h> #include <osl/endian.h> #include <osl/process.h> @@ -390,14 +389,6 @@ void ResMgrContainer::freeResMgr( InternalResMgr* pResMgr ) } } -#ifdef DBG_UTIL -void Resource::TestRes() -{ - if( m_pResMgr ) - m_pResMgr->TestStack(); -} -#endif - struct ImpContent { sal_uInt64 nTypeAndId; |