coverity#1327212 UwF: Unwritten field

Change-Id: Ib12d8909430fceef654d6960a42439cc6ad5cd69
This commit is contained in:
Caolán McNamara
2015-11-03 13:06:25 +00:00
parent 8b7bee3b44
commit 79831c6d6d

View File

@@ -33,7 +33,6 @@ public class PeerConfig implements XWindowListener
{
private final ArrayList<PeerTask> m_aPeerTasks = new ArrayList<PeerTask>();
private ArrayList<ControlTask> aControlTasks = new ArrayList<ControlTask>();
private ArrayList<ImageUrlTask> aImageUrlTasks = new ArrayList<ImageUrlTask>();
private UnoDialog oUnoDialog = null;
@@ -58,12 +57,6 @@ public class PeerConfig implements XWindowListener
}
}
private static class ControlTask
{
Object oModel;
String propname;
}
private static class ImageUrlTask
{
@@ -100,11 +93,6 @@ public class PeerConfig implements XWindowListener
xVclWindowPeer.setProperty(aPeerTask.propnames[n], aPeerTask.propvalues[n]);
}
}
for (int i = 0; i < this.aControlTasks.size(); i++)
{
ControlTask aControlTask = aControlTasks.get(i);
Helper.setUnoPropertyValue(aControlTask.oModel, aControlTask.propname, null);
}
for (int i = 0; i < this.aImageUrlTasks.size(); i++)
{
ImageUrlTask aImageUrlTask = aImageUrlTasks.get(i);