diff options
Diffstat (limited to 'cui/source/options/certpath.cxx')
-rw-r--r-- | cui/source/options/certpath.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx index ed24e4904af2..0a0a10e0ea6f 100644 --- a/cui/source/options/certpath.cxx +++ b/cui/source/options/certpath.cxx @@ -50,7 +50,7 @@ void CertPathDialog::Init() try { - uno::Reference<uno::XComponentContext> xContext = comphelper::getProcessComponentContext(); + const uno::Reference<uno::XComponentContext>& xContext = comphelper::getProcessComponentContext(); uno::Reference<xml::crypto::XNSSInitializer> xCipherContextSupplier = xml::crypto::NSSInitializer::create(xContext); OUString sActivePath = xCipherContextSupplier->getNSSPath(); @@ -138,7 +138,7 @@ bool CertPathDialog::isActiveServicePath() const try { - uno::Reference<uno::XComponentContext> xContext = comphelper::getProcessComponentContext(); + const uno::Reference<uno::XComponentContext>& xContext = comphelper::getProcessComponentContext(); uno::Reference<xml::crypto::XNSSInitializer> xCipherContextSupplier = xml::crypto::NSSInitializer::create(xContext); if (!xCipherContextSupplier->getIsNSSinitialized()) |