diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 11:30:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:16 +0200 |
commit | e7a474b29ad87c03bdc3253cc62521b8af3a93e0 (patch) | |
tree | 653452cc25dbe5fb2a9cc36e59f7a95ceed8f17c /wizards | |
parent | 27459c71ef5f6f27749de36334e8a20fe4731e62 (diff) |
java: remove unused variables
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
Diffstat (limited to 'wizards')
11 files changed, 0 insertions, 16 deletions
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java index 74e73e7ed33b..16002b921105 100644 --- a/wizards/com/sun/star/wizards/common/Configuration.java +++ b/wizards/com/sun/star/wizards/common/Configuration.java @@ -205,7 +205,6 @@ public abstract class Configuration String sLocale = PropertyNames.EMPTY_STRING; try { - Locale aLocLocale = new Locale(); Object oMasterKey = getConfigurationRoot(xMSF, root, false); sLocale = (String) Helper.getUnoObjectbyName(oMasterKey, key); } @@ -326,7 +325,6 @@ public abstract class Configuration public static String[] getNodeDisplayNames(XNameAccess _xNameAccessNode) { - String[] snames = null; return getNodeChildNames(_xNameAccessNode, PropertyNames.PROPERTY_NAME); } diff --git a/wizards/com/sun/star/wizards/form/FormConfiguration.java b/wizards/com/sun/star/wizards/form/FormConfiguration.java index 230ca59bf6b5..52ce66cfe113 100644 --- a/wizards/com/sun/star/wizards/form/FormConfiguration.java +++ b/wizards/com/sun/star/wizards/form/FormConfiguration.java @@ -153,7 +153,6 @@ public class FormConfiguration public void toggleSteps() { - boolean bDoEnableFollowingSteps; if (chkcreateSubForm.getState() == 1) { if (optOnExistingRelation.getState()) diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java index 5001dd04fb64..f082d8fc5d3a 100644 --- a/wizards/com/sun/star/wizards/query/QueryWizard.java +++ b/wizards/com/sun/star/wizards/query/QueryWizard.java @@ -409,7 +409,6 @@ public class QueryWizard extends DatabaseObjectWizard { String sID = JavaTools.ArrayoutofString(sIncSuffix, "_")[1]; ID = Integer.parseInt(sID); - int a = 0; } } } diff --git a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java index 9ac60be6c1c7..b0f3eb078347 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java +++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java @@ -211,7 +211,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme boolean bgetConnection; if (oDBForm != null) { - String sMsg = sMsgHiddenControlMissing + (char) 13 + sMsgEndAutopilot; XNameAccess xNamedForm = UnoRuntime.queryInterface( XNameAccess.class, oDBForm ); getRecordParser().Command = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, PropertyNames.COMMAND); String sCommandType = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, PropertyNames.COMMAND_TYPE); diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java index 7bce85cc5e6d..5273fa0a7fdc 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java +++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java @@ -163,7 +163,6 @@ public class ReportBuilderImplementation extends ReportImplementationHelper } catch (com.sun.star.uno.Exception e) { - int dummy = 0; } } @@ -175,7 +174,6 @@ public class ReportBuilderImplementation extends ReportImplementationHelper } catch (com.sun.star.uno.Exception e) { - int dummy = 0; } } @@ -201,7 +199,6 @@ public class ReportBuilderImplementation extends ReportImplementationHelper } catch (com.sun.star.uno.Exception e) { - int dummy = 0; } } diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java index fc15f431346a..65fed5b1c9f6 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java @@ -178,7 +178,6 @@ public class DesignTemplate m_aDetailTextField = SectionTextField.create(aFormattedField); } } - int dummy = 0; } catch (com.sun.star.lang.IndexOutOfBoundsException ex) { diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java index 9b4281297427..d7ac335dfb6b 100644 --- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java +++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java @@ -281,7 +281,6 @@ public class PrimaryKeyHandler implements XFieldSelectionListener private boolean isAutoIncrementatable(String _fieldname) { - boolean bisAutoIncrementable = false; try { XPropertySet xColPropertySet = curTableDescriptor.getByName(_fieldname); diff --git a/wizards/com/sun/star/wizards/text/TextTableHandler.java b/wizards/com/sun/star/wizards/text/TextTableHandler.java index 5b926145b0b7..4f742ee5ac47 100644 --- a/wizards/com/sun/star/wizards/text/TextTableHandler.java +++ b/wizards/com/sun/star/wizards/text/TextTableHandler.java @@ -209,7 +209,6 @@ public class TextTableHandler public static BreakType resetBreakTypeofTextTable(Object oTextTable) { - BreakType CorrBreakValue = null; BreakType BreakValue = (BreakType) com.sun.star.wizards.common.Helper.getUnoStructValue(oTextTable, "BreakType"); Helper.setUnoPropertyValue(oTextTable, "BreakType", BreakType.NONE); return BreakType.NONE; diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index c14ce73fa1f6..f80d601e6384 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -282,7 +282,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener setVisible(m_aButtons[i], false); } } - boolean focusable = true; for (int i = 0; i < m_aButtons.length; i++) { Object[] oResources = renderer.getImageUrls(getObjectFor(i)); @@ -302,7 +301,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener { setVisible(m_aButtons[i], true); } - focusable = false; } } } diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java index 8210cce41c1f..7c2193fb6e70 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.java +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java @@ -166,7 +166,6 @@ public abstract class ControlScroller protected void fillupControls(boolean binitialize) { - PropertyValue[] oldproperties; for (int a = 0; a < this.nblockincrement; a++) { if (a < ncurfieldcount) diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java index 46845aa6098e..db28aaa78331 100644 --- a/wizards/com/sun/star/wizards/ui/FieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java @@ -573,8 +573,6 @@ public class FieldSelection { iFieldSelected = xFieldsListBox.getSelectedItemPos(); iSelFieldSelected = xSelectedFieldsListBox.getSelectedItemPos(); - short[] SourceSelList = new short[xFieldsListBox.getSelectedItemsPos().length]; - SourceSelList = xFieldsListBox.getSelectedItemsPos(); xSelectedFieldsListBox.addItems(SelFieldItems, xSelectedFieldsListBox.getItemCount()); CurUnoDialog.removeSelectedItems(xFieldsListBox); xSelectedFieldsListBox.selectItemPos((short) 0, xSelectedFieldsListBox.getSelectedItems().length > 0); |