diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-03 20:45:04 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-23 14:30:29 +0200 |
commit | 143bbb20a3f4d757e2493fc078deea7dbaa1e14f (patch) | |
tree | ce78beac6e9d23c8cf2a5602302ceb969e5a9409 /oox/source/token | |
parent | d958e6d04983eb395b13b0d72aae5af550f9db9f (diff) |
inline TokenMap::getUtf8TokenName
Change-Id: Icd9c6ebc9feb3e7aba28b01729b582a8f49c832a
Diffstat (limited to 'oox/source/token')
-rw-r--r-- | oox/source/token/tokenmap.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/oox/source/token/tokenmap.cxx b/oox/source/token/tokenmap.cxx index dcd7284b7516..318aee40538b 100644 --- a/oox/source/token/tokenmap.cxx +++ b/oox/source/token/tokenmap.cxx @@ -80,13 +80,6 @@ sal_Int32 TokenMap::getTokenFromUnicode( const OUString& rUnicodeName ) const return pToken ? pToken->nToken : XML_TOKEN_INVALID; } -Sequence< sal_Int8 > TokenMap::getUtf8TokenName( sal_Int32 nToken ) const -{ - if( (0 <= nToken) && (static_cast< size_t >( nToken ) < XML_TOKEN_COUNT) ) - return maTokenNames[ static_cast< size_t >( nToken ) ]; - return Sequence< sal_Int8 >(); -} - sal_Int32 TokenMap::getTokenPerfectHash( const char *pStr, sal_Int32 nLength ) const { const struct xmltoken* pToken = Perfect_Hash::in_word_set( pStr, nLength ); |