summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 16:19:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-04 06:38:38 +0000
commite63116602b8f49508d0aef1dd1afe746a29cc219 (patch)
tree4dfc2253d096497c7f7f4522b42825ab84e7a64b /xmloff
parent5676ced82539d9e40bde6196d2aa3b2e4c7b3fdb (diff)
loplugin:unusedmethods
Change-Id: I30f9b6e68a7aa73782c980749e34f8f8d40ae57b Reviewed-on: https://gerrit.libreoffice.org/36047 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/fasttokenhandler.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmloff/source/core/fasttokenhandler.cxx b/xmloff/source/core/fasttokenhandler.cxx
index 8c60bd15520f..22a1606b44b1 100644
--- a/xmloff/source/core/fasttokenhandler.cxx
+++ b/xmloff/source/core/fasttokenhandler.cxx
@@ -55,13 +55,6 @@ TokenMap::~TokenMap()
{
}
-sal_Int32 TokenMap::getTokenFromUnicode( const OUString& rUnicodeName )
-{
- OString aUtf8Name = OUStringToOString( rUnicodeName, RTL_TEXTENCODING_UTF8 );
- const struct xmltoken* pToken = Perfect_Hash::in_word_set( aUtf8Name.getStr(), aUtf8Name.getLength() );
- return pToken ? pToken->nToken : XML_TOKEN_INVALID;
-}
-
sal_Int32 TokenMap::getTokenPerfectHash( const char *pStr, sal_Int32 nLength )
{
const struct xmltoken *pToken = Perfect_Hash::in_word_set( pStr, nLength );