diff options
author | Noel Grandin <noel@peralex.com> | 2013-06-05 13:30:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-10 10:20:44 +0200 |
commit | 670e2329df5cccaacd0e43d3656aeb112488e8ef (patch) | |
tree | aad439837c3d5e1770aa0c42314c18ca772dbdf4 /xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx | |
parent | 2c64af529567324f4433984ed7673304d26062c8 (diff) |
fdo#46808, Convert xml::crypto services to new style
Also remove the unnecessary XInitialization implementations.
Change-Id: I81f32b2cdcf69b84fe4b15382f9294073a7f2f20
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx index cd3c863d3e7f..3ded9ab7b82e 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx @@ -34,9 +34,8 @@ using ::com::sun::star::lang::XSingleServiceFactory ; using ::com::sun::star::xml::crypto::XSecurityEnvironment ; using ::com::sun::star::xml::crypto::XXMLSecurityContext ; -XMLSecurityContext_NssImpl :: XMLSecurityContext_NssImpl( const Reference< XMultiServiceFactory >& aFactory ) +XMLSecurityContext_NssImpl :: XMLSecurityContext_NssImpl() ://i39448 : m_pKeysMngr( NULL ) , - m_xServiceManager( aFactory ) , m_nDefaultEnvIndex(-1) //m_xSecurityEnvironment( NULL ) { @@ -130,11 +129,6 @@ void SAL_CALL XMLSecurityContext_NssImpl::setDefaultSecurityEnvironmentIndex( sa //i39448 : old methods deleted -/* XInitialization */ -void SAL_CALL XMLSecurityContext_NssImpl :: initialize( const Sequence< Any >& /*aArguments*/ ) throw( Exception, RuntimeException ) { - // TBD -} ; - /* XServiceInfo */ OUString SAL_CALL XMLSecurityContext_NssImpl :: getImplementationName() throw( RuntimeException ) { return impl_getImplementationName() ; @@ -169,8 +163,8 @@ OUString XMLSecurityContext_NssImpl :: impl_getImplementationName() throw( Runti } //Helper for registry -Reference< XInterface > SAL_CALL XMLSecurityContext_NssImpl :: impl_createInstance( const Reference< XMultiServiceFactory >& aServiceManager ) throw( RuntimeException ) { - return Reference< XInterface >( *new XMLSecurityContext_NssImpl( aServiceManager ) ) ; +Reference< XInterface > SAL_CALL XMLSecurityContext_NssImpl :: impl_createInstance( const Reference< XMultiServiceFactory >& ) throw( RuntimeException ) { + return Reference< XInterface >( *new XMLSecurityContext_NssImpl ) ; } Reference< XSingleServiceFactory > XMLSecurityContext_NssImpl :: impl_createFactory( const Reference< XMultiServiceFactory >& aServiceManager ) { |