[Libreoffice-commits] core.git: 2 commits - qadevOOo/runner qadevOOo/tests

Caolán McNamara caolanm at redhat.com
Thu Feb 4 10:26:46 UTC 2016


 qadevOOo/runner/util/DBTools.java                      |   11 -----------
 qadevOOo/tests/java/ifc/task/_XInteractionHandler.java |    2 --
 2 files changed, 13 deletions(-)

New commits:
commit bbcb4c94034f9ea51b63682912a3183777292bbd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 21 16:42:14 2016 +0000

    coverity#1326671 DLS: Dead local store
    
    Change-Id: I310f9d0e66e910c6a5bbd2a4f864e4149b85c92e

diff --git a/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java b/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
index 9bfc91b..4967910 100644
--- a/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
+++ b/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
@@ -60,8 +60,6 @@ public class _XInteractionHandler extends MultiMethodTest {
     */
     @Override
     public void before() {
-        XInteractionRequest request = (XInteractionRequest)
-            tEnv.getObjRelation("XInteractionHandler.Request") ;
     }
 
     /**
commit e229993a6365674d87634c3393a536f5adee49c4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Feb 4 09:32:03 2016 +0000

    coverity#1327197 UwF: Unwritten field
    
    Change-Id: I520235178bc1eaea5e5bc0497ab8824bf2775456

diff --git a/qadevOOo/runner/util/DBTools.java b/qadevOOo/runner/util/DBTools.java
index cc65494..52fb344b 100644
--- a/qadevOOo/runner/util/DBTools.java
+++ b/qadevOOo/runner/util/DBTools.java
@@ -113,14 +113,6 @@ public class DBTools {
         * Representation of <code>'IsPasswordRequired'</code> property.
         */
         public Boolean IsPasswordRequired = null ;
-        /**
-        * Representation of <code>'IsReadOnly'</code> property.
-        */
-        private Boolean IsReadOnly = null ;
-        /**
-        * Representation of <code>'TableFilter'</code> property.
-        */
-        private String[] TableFilter = null ;
 
         /**
         * Creates new <code>com.sun.star.sdb.DataSource</code> service
@@ -141,9 +133,6 @@ public class DBTools {
             if (User != null) props.setPropertyValue("User", User) ;
             if (Password != null) props.setPropertyValue("Password", Password) ;
             if (IsPasswordRequired != null) props.setPropertyValue("IsPasswordRequired", IsPasswordRequired) ;
-            if (IsReadOnly != null) props.setPropertyValue("IsReadOnly", IsReadOnly) ;
-            if (TableFilter != null) props.setPropertyValue("TableFilter", TableFilter) ;
-
             return src ;
         }
     }


More information about the Libreoffice-commits mailing list