diff options
author | Noel <noelgrandin@gmail.com> | 2020-12-13 20:48:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-14 10:03:56 +0100 |
commit | dbe467b6c268eb10bb4dbc8d6ebeeec310a0586b (patch) | |
tree | 3bb3416d11655ea1475cf574a188e7e59b5e71f0 /xmloff | |
parent | 9a2a4bc5ed340ba187c8e27db5c8477c990c93af (diff) |
loplugin:unusedmethods
Change-Id: I442d99e8f6a7df11dc950c5073f683bffc41a852
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107661
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltkmap.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xmloff/source/core/xmltkmap.cxx b/xmloff/source/core/xmltkmap.cxx index bf61a37488f4..46496762b0e1 100644 --- a/xmloff/source/core/xmltkmap.cxx +++ b/xmloff/source/core/xmltkmap.cxx @@ -47,7 +47,6 @@ private: public: void insert( const SvXMLTokenMapEntry& rEntry ); sal_uInt16 get( sal_uInt16 nKeyPrefix, const OUString& rLName ) const; - sal_uInt16 get( sal_Int32 nFastTok ) const; }; void SvXMLTokenMap_Impl::insert( const SvXMLTokenMapEntry& rEntry ) @@ -73,15 +72,6 @@ sal_uInt16 SvXMLTokenMap_Impl::get( sal_uInt16 nKeyPrefix, const OUString& rLNam return XML_TOK_UNKNOWN; } -sal_uInt16 SvXMLTokenMap_Impl::get( sal_Int32 nFastTok ) const -{ - auto aIter( m_aFastTokenToTokenMap.find( nFastTok ) ); - if ( aIter != m_aFastTokenToTokenMap.end() ) - return (*aIter).second; - else - return XML_TOK_UNKNOWN; -} - SvXMLTokenMap::SvXMLTokenMap( const SvXMLTokenMapEntry *pMap ) : m_pImpl( new SvXMLTokenMap_Impl ) { @@ -102,9 +92,4 @@ sal_uInt16 SvXMLTokenMap::Get( sal_uInt16 nKeyPrefix, return m_pImpl->get( nKeyPrefix, rLName ); } -sal_uInt16 SvXMLTokenMap::Get( sal_Int32 nFastTok ) const -{ - return m_pImpl->get( nFastTok ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |