summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-14 11:39:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-14 11:39:14 +0100
commit5affc580f401614851f21487d4b4932eb25decff (patch)
treeb9fa9393b3d9a7898e6ac305c17cd8fdad2423ec /wizards
parent2fd8707ff2f63750dbe3e51f5ea446620d24e920 (diff)
coverity#1327211 UwF: Unwritten field
Change-Id: Id210a19ea068aadcf1316a1c184769ba75e1cf70
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/report/ReportWizard.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java
index 2582ac322bff..519ea48723d7 100644
--- a/wizards/com/sun/star/wizards/report/ReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/ReportWizard.java
@@ -52,8 +52,6 @@ import java.util.Map;
public class ReportWizard extends DatabaseObjectWizard implements XTextListener
{
-
- private FieldSelection CurGroupFieldSelection;
private SortingComponent CurSortingComponent;
private TitlesComponent CurTitlesComponent;
private CommandFieldSelection CurDBCommandFieldSelection;
@@ -652,11 +650,6 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener
enableWizardSteps(NewItems);
toggleSortingPage();
}
- else
- {
- boolean bEnabled = (CurGroupFieldSelection.getSelectedFieldNames().length > 0);
- Helper.setUnoPropertyValue(getRoadmapItemByID(SOGROUPPAGE), PropertyNames.PROPERTY_ENABLED, bEnabled);
- }
}
public void shiftFromRightToLeft(String[] SelItems, String[] NewItems)
@@ -667,11 +660,6 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener
enableWizardSteps(NewItems);
CurDBCommandFieldSelection.setModified(true);
}
- else
- {
- boolean bEnabled = (CurGroupFieldSelection.getSelectedFieldNames().length > 0);
- Helper.setUnoPropertyValue(getRoadmapItemByID(SOGROUPPAGE), PropertyNames.PROPERTY_ENABLED, bEnabled);
- }
}
public void moveItemDown(String item)