diff options
Diffstat (limited to 'cui/source/options/certpath.cxx')
-rw-r--r-- | cui/source/options/certpath.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx index 0a477ca7c601..e3ebcbe0375b 100644 --- a/cui/source/options/certpath.cxx +++ b/cui/source/options/certpath.cxx @@ -18,7 +18,7 @@ #include "certpath.hrc" #include "dialmgr.hxx" -#include <com/sun/star/mozilla/XMozillaBootstrap.hpp> +#include <com/sun/star/mozilla/MozillaBootstrap.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <com/sun/star/ui/dialogs/FolderPicker.hpp> #include <comphelper/processfactory.hxx> @@ -71,10 +71,7 @@ CertPathDialog::CertPathDialog( Window* pParent ) : "mozilla" }; sal_Int32 nProduct = SAL_N_ELEMENTS(productTypes); - uno::Reference<uno::XInterface> xInstance = comphelper::getProcessServiceFactory()->createInstance( - "com.sun.star.mozilla.MozillaBootstrap"); - - uno::Reference<mozilla::XMozillaBootstrap> xMozillaBootstrap(xInstance, uno::UNO_QUERY_THROW); + uno::Reference<mozilla::XMozillaBootstrap> xMozillaBootstrap = mozilla::MozillaBootstrap::create( comphelper::getProcessComponentContext() ); for (sal_Int32 i = 0; i < nProduct; ++i) { |