summaryrefslogtreecommitdiff
path: root/oox/source/token
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-30 10:47:56 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:39 +0200
commitf304a7a14a4af4d3f46eab18d5494194028e61ef (patch)
tree7f51b8efe4427d01fc688925c44e0a05e3c64c7b /oox/source/token
parentb2b85c2b3920fdd92b8d3bf32af1cac5679e116e (diff)
loplugin:staticmethods
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
Diffstat (limited to 'oox/source/token')
-rw-r--r--oox/source/token/tokenmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/token/tokenmap.cxx b/oox/source/token/tokenmap.cxx
index 318aee40538b..fb96c37fe3a3 100644
--- a/oox/source/token/tokenmap.cxx
+++ b/oox/source/token/tokenmap.cxx
@@ -73,14 +73,14 @@ TokenMap::~TokenMap()
{
}
-sal_Int32 TokenMap::getTokenFromUnicode( const OUString& rUnicodeName ) const
+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
+sal_Int32 TokenMap::getTokenPerfectHash( const char *pStr, sal_Int32 nLength )
{
const struct xmltoken* pToken = Perfect_Hash::in_word_set( pStr, nLength );
return pToken ? pToken->nToken : XML_TOKEN_INVALID;