diff options
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/core/fasttokenhandler.cxx | 11 | ||||
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 10 |
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>(); |