summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-09-19 10:49:33 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-09-19 13:50:53 +0200
commit879bfcbf84fc7b73b5475d3f02e98184a2065dc5 (patch)
treebd8b6c60dc67e5ea5b77564968f3f17b4da171b0 /oox
parent38deb7e53b01e3636b8049ba016f4cb903526ad4 (diff)
Remove unused XFastTokenHandler functions
Change-Id: I0d8072f1194aa837932dcffd6dc6a3761bbdc74e
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/fasttokenhandler.cxx11
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx10
2 files changed, 0 insertions, 21 deletions
diff --git a/oox/source/core/fasttokenhandler.cxx b/oox/source/core/fasttokenhandler.cxx
index 91fb38a78fe5..3fe24ef52f2d 100644
--- a/oox/source/core/fasttokenhandler.cxx
+++ b/oox/source/core/fasttokenhandler.cxx
@@ -73,17 +73,6 @@ Sequence< OUString > SAL_CALL FastTokenHandler::getSupportedServiceNames() throw
return FastTokenHandler_getSupportedServiceNames();
}
-// XFastTokenHandler
-sal_Int32 FastTokenHandler::getToken( const OUString& rIdentifier ) throw( RuntimeException, std::exception )
-{
- return mrTokenMap.getTokenFromUnicode( rIdentifier );
-}
-
-OUString FastTokenHandler::getIdentifier( sal_Int32 nToken ) throw( RuntimeException, std::exception )
-{
- return mrTokenMap.getUnicodeTokenName( nToken );
-}
-
Sequence< sal_Int8 > FastTokenHandler::getUTF8Identifier( sal_Int32 nToken ) throw( RuntimeException, std::exception )
{
return mrTokenMap.getUtf8TokenName( nToken );
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index d792f6b810bf..50a886875c11 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -47,21 +47,11 @@ vector<sal_uInt8> convertToVector(Sequence<sal_Int8>& input)
class AgileTokenHandler : public cppu::WeakImplHelper1< XFastTokenHandler >
{
public:
- virtual sal_Int32 SAL_CALL getToken( const OUString& /*nIdentifier*/ ) throw (RuntimeException, std::exception) SAL_OVERRIDE
- {
- return FastToken::DONTKNOW;
- }
-
virtual sal_Int32 SAL_CALL getTokenFromUTF8( const Sequence< sal_Int8 >& /*nIdentifier*/ ) throw (RuntimeException, std::exception) SAL_OVERRIDE
{
return FastToken::DONTKNOW;
}
- virtual OUString SAL_CALL getIdentifier( sal_Int32 /*nToken*/ ) throw (RuntimeException, std::exception) SAL_OVERRIDE
- {
- return OUString();
- }
-
virtual Sequence<sal_Int8> SAL_CALL getUTF8Identifier(sal_Int32 /*nToken*/) throw (RuntimeException, std::exception) SAL_OVERRIDE
{
return Sequence<sal_Int8>();