summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-27 14:08:09 +0200
committerNoel Grandin <noel@peralex.com>2014-11-27 14:19:35 +0200
commit2eb6f15102c8ea2374ae8fa19e5ac9693a4ee05e (patch)
tree66120ab9b702bd12df7a5186785c0c15f9305b85 /wizards/com/sun/star/wizards/table
parent4004c372722ef2ba74d5760a39158cbb64e7b902 (diff)
java,wizards: remove unread fields
found by UCDetector Change-Id: Ia98606a98b998a224f821f2e673e788fb0ecf7d1
Diffstat (limited to 'wizards/com/sun/star/wizards/table')
-rw-r--r--wizards/com/sun/star/wizards/table/CallTableWizard.java5
-rw-r--r--wizards/com/sun/star/wizards/table/Finalizer.java3
-rw-r--r--wizards/com/sun/star/wizards/table/TableWizard.java3
3 files changed, 3 insertions, 8 deletions
diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java
index 605a79607586..07b830082af3 100644
--- a/wizards/com/sun/star/wizards/table/CallTableWizard.java
+++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java
@@ -56,9 +56,6 @@ public class CallTableWizard
{
private PropertyValue[] m_wizardContext;
- // <properties>
- public String Command;
- // </properties>
/** The constructor of the inner class has a XMultiServiceFactory parameter.
*/
@@ -77,7 +74,7 @@ public class CallTableWizard
if ( sEvent.equals(PropertyNames.START) )
{
TableWizard CurTableWizard = new TableWizard( m_serviceFactory, m_wizardContext );
- Command = CurTableWizard.startTableWizard();
+ CurTableWizard.startTableWizard();
}
}
catch (Exception exception)
diff --git a/wizards/com/sun/star/wizards/table/Finalizer.java b/wizards/com/sun/star/wizards/table/Finalizer.java
index f4cb9d46e23e..1e5832ffe1f2 100644
--- a/wizards/com/sun/star/wizards/table/Finalizer.java
+++ b/wizards/com/sun/star/wizards/table/Finalizer.java
@@ -36,7 +36,6 @@ public class Finalizer
short curtabindex;
XRadioButton optModifyTable;
XRadioButton optWorkWithTable;
- XRadioButton optStartFormWizard;
XTextComponent txtTableName;
XListBox xCatalogListBox;
XListBox xSchemaListBox;
@@ -245,7 +244,7 @@ public class Finalizer
{
UIConsts.INTEGERS[8], "HID:WIZARDS_HID_DLGTABLE_OPT_MODIFYTABLE", sModifyTable, 101, Integer.valueOf(109 + ndiffPosY), IFINALSTEP, Short.valueOf(curtabindex++), 177
});
- optStartFormWizard = CurUnoDialog.insertRadioButton("optStartFormWizard", null,
+ CurUnoDialog.insertRadioButton("optStartFormWizard", null,
new String[]
{
PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH
diff --git a/wizards/com/sun/star/wizards/table/TableWizard.java b/wizards/com/sun/star/wizards/table/TableWizard.java
index 24e1e71ed004..3dd4a3336491 100644
--- a/wizards/com/sun/star/wizards/table/TableWizard.java
+++ b/wizards/com/sun/star/wizards/table/TableWizard.java
@@ -44,7 +44,6 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener
ScenarioSelector curScenarioSelector;
FieldFormatter curFieldFormatter;
PrimaryKeyHandler curPrimaryKeyHandler;
- String sMsgWizardName = PropertyNames.EMPTY_STRING;
public HashMap<String, FieldDescription> fielditems;
int wizardmode;
String tablename;
@@ -381,7 +380,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener
public boolean getTableResources()
{
- sMsgWizardName = super.m_oResource.getResText(UIConsts.RID_TABLE + 1);
+ super.m_oResource.getResText(UIConsts.RID_TABLE + 1);
slblFields = m_oResource.getResText(UIConsts.RID_TABLE + 19);
slblSelFields = m_oResource.getResText(UIConsts.RID_TABLE + 25);
serrToManyFields = m_oResource.getResText(UIConsts.RID_TABLE + 47);