xmlsecurity/source/gpg/SecurityEnvironment.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ea920eeb35bd3b454a4ca0e0d94ba36be400b98
Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
Date:   Thu Mar 16 09:18:36 2017 +0100

    No need to use a shared ptr here
    
    Change-Id: Ia3d2f019689efe990cbbde11e9c27a80fd95ae0a
    Reviewed-on: https://gerrit.libreoffice.org/35252
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx 
b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
index 27d71e0d77ac..eb167b2732a9 100644
--- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx
+++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
@@ -103,7 +103,7 @@ Sequence< Reference < XCertificate > > 
SecurityEnvironmentGpg::getPersonalCertif
     if (err)
         throw RuntimeException("The GpgME library failed to initialize for the 
OpenPGP protocol.");
 
-    std::shared_ptr<GpgME::Context> 
ctx(GpgME::Context::createForProtocol(GpgME::OpenPGP));
+    GpgME::Context* ctx = GpgME::Context::createForProtocol(GpgME::OpenPGP);
     if (ctx == nullptr)
         throw RuntimeException("The GpgME library failed to initialize for the 
OpenPGP protocol.");
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to