diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-04 11:20:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-09 08:08:15 +0200 |
commit | 77d215ae2ed9bd08444a5128729066b6025bef27 (patch) | |
tree | 581ee6dc7eaaedd2cea591f64cbed17e3da507ac /uui/source/unknownauthdlg.cxx | |
parent | fd5a2eb07011e8aedfd5ef0a82edaf07221554ba (diff) |
fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContext
.. everywhere that was using createWithServiceFactory, and delete the old
method.
Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
Diffstat (limited to 'uui/source/unknownauthdlg.cxx')
-rw-r--r-- | uui/source/unknownauthdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx index dc0e551ac163..a28a4bf7bcca 100644 --- a/uui/source/unknownauthdlg.cxx +++ b/uui/source/unknownauthdlg.cxx @@ -48,7 +48,7 @@ IMPL_LINK_NOARG(UnknownAuthDialog, ViewCertHdl_Impl) uno::Reference< ::com::sun::star::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures; xDocumentDigitalSignatures = uno::Reference< ::com::sun::star::security::XDocumentDigitalSignatures >( - ::com::sun::star::security::DocumentDigitalSignatures::createDefault(comphelper::getComponentContext(getServiceFactory())) ); + ::com::sun::star::security::DocumentDigitalSignatures::createDefault(m_xContext) ); xDocumentDigitalSignatures.get()->showCertificate(getCert()); @@ -61,7 +61,7 @@ UnknownAuthDialog::UnknownAuthDialog ( Window* pParent, const cssu::Reference< dcss::security::XCertificate >& rXCert, - const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, + const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext, ResMgr* pResMgr ) : ModalDialog( pParent, ResId( DLG_UUI_UNKNOWNAUTH, *pResMgr ) ), @@ -75,7 +75,7 @@ UnknownAuthDialog::UnknownAuthDialog m_aLine ( this, ResId( FL_LINE, *pResMgr ) ), m_aLabel1 ( this, ResId( FT_LABEL_1, *pResMgr ) ), m_aWarnImage ( this, ResId( IMG_WARN, *pResMgr ) ), - m_xServiceFactory ( xServiceFactory ), + m_xContext ( xContext ), m_rXCert ( rXCert ) { FreeResource(); |