diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 11:43:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 09:59:03 +0200 |
commit | 10039462dfebdf6727529ca38b4105fcd7dd5727 (patch) | |
tree | dae25c3bdfa24dac171b10a2ac095f169b883fe5 /wizards | |
parent | java: static fields that should be instance fields (diff) | |
download | core-10039462dfebdf6727529ca38b4105fcd7dd5727.tar.gz core-10039462dfebdf6727529ca38b4105fcd7dd5727.zip |
java: remove more dead code
found by looking for unused parameters (in Eclipse)
Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
Diffstat (limited to 'wizards')
7 files changed, 6 insertions, 12 deletions
diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java index f5374c142db4..e80bb9de0441 100644 --- a/wizards/com/sun/star/wizards/form/FieldLinker.java +++ b/wizards/com/sun/star/wizards/form/FieldLinker.java @@ -43,9 +43,9 @@ public class FieldLinker extends DBLimitedFieldSelection private String[] sSlaveListHeader; private String[] sMasterListHeader; //CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 40); - public FieldLinker(WizardDialog _CurUnoDialog, int iStep, int iCompPosX, int iCompPosY, int _firsthelpid) + public FieldLinker(WizardDialog _CurUnoDialog, int iStep, int iCompPosY, int _firsthelpid) { - super(_CurUnoDialog, iStep, iCompPosX, iCompPosY, _firsthelpid); + super(_CurUnoDialog, iStep, iCompPosY, _firsthelpid); } protected void insertControlGroup(int i) diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java index bf8ba4bbf559..5247f61aac0b 100644 --- a/wizards/com/sun/star/wizards/form/FormWizard.java +++ b/wizards/com/sun/star/wizards/form/FormWizard.java @@ -248,7 +248,7 @@ public class FormWizard extends DatabaseObjectWizard curFormDocument.xProgressBar.setValue(40); - curFieldLinker = new FieldLinker(this, SOFIELDLINKER_PAGE, 95, 30, 34441); + curFieldLinker = new FieldLinker(this, SOFIELDLINKER_PAGE, 30, 34441); curFormDocument.xProgressBar.setValue(50); curControlArranger = new UIControlArranger(this, curFormDocument); diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java index 0f700299cc94..9e68a6f5cb43 100644 --- a/wizards/com/sun/star/wizards/form/UIControlArranger.java +++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java @@ -232,7 +232,6 @@ public class UIControlArranger m_aButtonList.setStep(Short.valueOf((short) FormWizard.SOCONTROL_PAGE)); m_aButtonList.setShowButtons(false); // shows a button line at ''wrong'' position like |<| 1..4/4 |>| m_aButtonList.setRenderer(new LayoutRenderer()); - m_aButtonList.setSelectionGap(new Size(2, 2)); m_aButtonList.setGap(new Size(3, 3)); // m_aButtonList.scaleImages = Boolean.FALSE; m_aButtonList.tabIndex = curtabindex++; diff --git a/wizards/com/sun/star/wizards/report/ReportFinalizer.java b/wizards/com/sun/star/wizards/report/ReportFinalizer.java index a068c7082709..350ad9b29324 100644 --- a/wizards/com/sun/star/wizards/report/ReportFinalizer.java +++ b/wizards/com/sun/star/wizards/report/ReportFinalizer.java @@ -20,7 +20,6 @@ import com.sun.star.awt.ItemEvent; import com.sun.star.awt.TextEvent; import com.sun.star.awt.VclWindowPeerAttribute; import com.sun.star.awt.XTextComponent; -import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.Exception; import com.sun.star.wizards.common.Desktop; import com.sun.star.wizards.common.JavaTools; @@ -42,7 +41,7 @@ public class ReportFinalizer public static final int SOCREATEDOCUMENT = 1; public static final int SOCREATETEMPLATE = 2; public static final int SOUSETEMPLATE = 3; - public ReportFinalizer(XMultiServiceFactory _xMSF, IReportDocument _CurReportDocument, WizardDialog _CurUnoDialog) + public ReportFinalizer(IReportDocument _CurReportDocument, WizardDialog _CurUnoDialog) { this.CurUnoDialog = _CurUnoDialog; this.CurReportDocument = _CurReportDocument; diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java index c8353932e161..2582ac322bff 100644 --- a/wizards/com/sun/star/wizards/report/ReportWizard.java +++ b/wizards/com/sun/star/wizards/report/ReportWizard.java @@ -324,7 +324,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener CurGroupFieldHandler = new GroupFieldHandler(m_reportDocument, this); CurSortingComponent = new SortingComponent(this, SOSORTPAGE, 95, 30, 210, 34346); CurReportLayouter = new ReportLayouter(xMSF, m_reportDocument, this, isReportBuilderInstalled()); - CurReportFinalizer = new ReportFinalizer(xMSF, m_reportDocument, this); + CurReportFinalizer = new ReportFinalizer(m_reportDocument, this); bCloseDocument = true; enableNavigationButtons(false, false, false); } diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index 51a7c84a2481..a1cce5047218 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -484,10 +484,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener Helper.setUnoPropertyValue(getModel(lblImageText), PropertyNames.PROPERTY_LABEL, sText); } - public void setSelectionGap(Size size) - { - } - public void setShowButtons(boolean b) { showButtons = b; diff --git a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java index 1754b1c00750..270e19f77f8a 100644 --- a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java @@ -38,7 +38,7 @@ public abstract class DBLimitedFieldSelection protected int iCurPosY; protected int FirstHelpIndex; - public DBLimitedFieldSelection(WizardDialog _CurUnoDialog, int iStep, int _iCompPosX, int iCompPosY, int _FirstHelpIndex) + public DBLimitedFieldSelection(WizardDialog _CurUnoDialog, int iStep, int iCompPosY, int _FirstHelpIndex) { this.CurUnoDialog = _CurUnoDialog; FirstHelpIndex = _FirstHelpIndex; |