[Libreoffice-commits] core.git: wizards/com

Caolán McNamara caolanm at redhat.com
Wed Oct 14 03:36:22 PDT 2015


 wizards/com/sun/star/wizards/ui/PeerConfig.java |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 2fd8707ff2f63750dbe3e51f5ea446620d24e920
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 14 11:35:48 2015 +0100

    coverity#1327212 UwF: Unwritten field
    
    Change-Id: Id5ba80b5f2b9d4d201dce57ba165e1a70dc1ba3d

diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java
index bcc8a9b..80a12c3 100644
--- a/wizards/com/sun/star/wizards/ui/PeerConfig.java
+++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java
@@ -60,11 +60,8 @@ public class PeerConfig implements XWindowListener
 
     private static class ControlTask
     {
-
         Object oModel;
         String propname;
-        Object propvalue;
-
     }
 
     private static class ImageUrlTask
@@ -106,7 +103,7 @@ public class PeerConfig implements XWindowListener
             for (int i = 0; i < this.aControlTasks.size(); i++)
             {
                 ControlTask aControlTask = aControlTasks.get(i);
-                Helper.setUnoPropertyValue(aControlTask.oModel, aControlTask.propname, aControlTask.propvalue);
+                Helper.setUnoPropertyValue(aControlTask.oModel, aControlTask.propname, null);
             }
             for (int i = 0; i < this.aImageUrlTasks.size(); i++)
             {


More information about the Libreoffice-commits mailing list