summaryrefslogtreecommitdiff
path: root/uui/source/sslwarndlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-04 11:20:21 +0200
committerNoel Grandin <noel@peralex.com>2013-01-09 08:08:15 +0200
commit77d215ae2ed9bd08444a5128729066b6025bef27 (patch)
tree581ee6dc7eaaedd2cea591f64cbed17e3da507ac /uui/source/sslwarndlg.hxx
parentfd5a2eb07011e8aedfd5ef0a82edaf07221554ba (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.hxx')
-rw-r--r--uui/source/sslwarndlg.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/uui/source/sslwarndlg.hxx b/uui/source/sslwarndlg.hxx
index ab2b8c07754c..9cfa924ae4b4 100644
--- a/uui/source/sslwarndlg.hxx
+++ b/uui/source/sslwarndlg.hxx
@@ -26,7 +26,7 @@
#include <vcl/button.hxx>
#include <com/sun/star/security/XCertificate.hpp>
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
namespace cssu = com::sun::star::uno;
namespace dcss = ::com::sun::star;
@@ -48,7 +48,7 @@ private:
FixedImage m_aWarnImage;
- const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& m_xServiceFactory;
+ const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& m_xContext;
const cssu::Reference< dcss::security::XCertificate >& m_rXCert;
Window* m_pParent;
@@ -58,11 +58,9 @@ private:
public:
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 );
- const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > getServiceFactory() { return m_xServiceFactory; };
-
cssu::Reference< dcss::security::XCertificate > getCert() { return m_rXCert; };
Window* getParent() { return m_pParent; };