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/sslwarndlg.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/sslwarndlg.cxx')
-rw-r--r-- | uui/source/sslwarndlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/sslwarndlg.cxx b/uui/source/sslwarndlg.cxx index b00ca79fa160..0a56d8516b96 100644 --- a/uui/source/sslwarndlg.cxx +++ b/uui/source/sslwarndlg.cxx @@ -40,7 +40,7 @@ IMPL_LINK_NOARG(SSLWarnDialog, ViewCertHdl_Impl) { uno::Reference< ::com::sun::star::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures; - xDocumentDigitalSignatures = ::com::sun::star::security::DocumentDigitalSignatures::createDefault( comphelper::getComponentContext(getServiceFactory()) ); + xDocumentDigitalSignatures = ::com::sun::star::security::DocumentDigitalSignatures::createDefault( m_xContext ); xDocumentDigitalSignatures.get()->showCertificate(getCert()); @@ -53,7 +53,7 @@ SSLWarnDialog::SSLWarnDialog ( 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 ) : @@ -64,7 +64,7 @@ SSLWarnDialog::SSLWarnDialog m_aCommandButtonViewCert ( this, ResId( PB_VIEW__CERTIFICATE, *pResMgr ) ), m_aLine ( this, ResId( FL_LINE, *pResMgr ) ), m_aWarnImage ( this, ResId( IMG_WARN, *pResMgr ) ), - m_xServiceFactory ( xServiceFactory ), + m_xContext ( xContext ), m_rXCert ( rXCert ) { FreeResource(); |