[Libreoffice-commits] core.git: jvmfwk/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 11 17:00:23 UTC 2017


 jvmfwk/source/framework.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 40677a29093b8e47dfdc17a251845624c57430f6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 11 18:59:13 2017 +0200

    Fix missing deref
    
    ...lacking since recent f0454e72c1d1b11c3bcbacb23048a62fdecd037c "Use
    std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxx"
    
    Change-Id: Ied39be52ccc8cbef48cdfb4933e4ac1914fd0fd3

diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index 9eeee6a75249..5bfa77695e83 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -660,7 +660,7 @@ javaFrameworkError jfw_getSelectedJRE(std::unique_ptr<JavaInfo> *ppInfo)
 
         const jfw::MergedSettings settings;
         ppInfo->reset(settings.createJavaInfo());
-        if (! ppInfo)
+        if (!*ppInfo)
         {
             return JFW_E_NONE;
         }


More information about the Libreoffice-commits mailing list