Kaydet (Commit) 4004c372 authored tarafından Noel Grandin's avatar Noel Grandin

java,wizards: remove unused constants

found by UCDetector

Change-Id: Ic62ec16bceb9ab7b6898f8a469af65ba3884bb51
üst 5c6d6c7c
...@@ -33,7 +33,6 @@ import com.sun.star.uno.TypeClass; ...@@ -33,7 +33,6 @@ import com.sun.star.uno.TypeClass;
public class NumericalHelper public class NumericalHelper
{ {
public static final int UNKNOWN_TYPE = -32768;
public static final int BYTE_TYPE = 0; public static final int BYTE_TYPE = 0;
public static final int SHORT_TYPE = 1; public static final int SHORT_TYPE = 1;
public static final int INT_TYPE = 2; public static final int INT_TYPE = 2;
...@@ -44,9 +43,6 @@ public class NumericalHelper ...@@ -44,9 +43,6 @@ public class NumericalHelper
public static final int STRING_TYPE = -1; public static final int STRING_TYPE = -1;
public static final int BOOLEAN_TYPE = -2; public static final int BOOLEAN_TYPE = -2;
public static final int SEQUENCE_TYPE = -3; public static final int SEQUENCE_TYPE = -3;
public static final int ASCII_VALUE_0 = 48;
public static final int ASCII_VALUE_A = 65;
public static final int COUNT_CHARS_IN_ALPHABET = 26;
private static final int HEX_BASE = 16; private static final int HEX_BASE = 16;
private static final int DEC_BASE = 10; private static final int DEC_BASE = 10;
private static final int ASCII_LETTER_A_OFFSET = 55; private static final int ASCII_LETTER_A_OFFSET = 55;
......
...@@ -40,7 +40,6 @@ public class GridControl extends Shape ...@@ -40,7 +40,6 @@ public class GridControl extends Shape
public XGridColumnFactory xGridColumnFactory; public XGridColumnFactory xGridColumnFactory;
public XPropertySet xPropertySet; public XPropertySet xPropertySet;
XNameAccess xNameAccess; XNameAccess xNameAccess;
static final String SODEFAULTNAME = "Grid1";
XControlModel xControlModel; XControlModel xControlModel;
public XComponent xComponent; public XComponent xComponent;
......
...@@ -30,7 +30,6 @@ public class QuerySummary extends QueryMetaData ...@@ -30,7 +30,6 @@ public class QuerySummary extends QueryMetaData
{ {
static final protected int RID_QUERY = 2300; static final protected int RID_QUERY = 2300;
static final protected int RID_REPORT = 2400;
String sSummary; String sSummary;
Resource oResource; Resource oResource;
private final String sSeparator; private final String sSeparator;
......
...@@ -43,7 +43,6 @@ import com.sun.star.wizards.ui.TitlesComponent; ...@@ -43,7 +43,6 @@ import com.sun.star.wizards.ui.TitlesComponent;
public class QueryWizard extends DatabaseObjectWizard public class QueryWizard extends DatabaseObjectWizard
{ {
public static final String SFILLUPFIELDSLISTBOX = "fillUpFieldsListbox";
private static final int SOFIELDSELECTION_PAGE = 1; private static final int SOFIELDSELECTION_PAGE = 1;
private static final int SOSORTING_PAGE = 2; private static final int SOSORTING_PAGE = 2;
private static final int SOFILTER_PAGE = 3; private static final int SOFILTER_PAGE = 3;
......
...@@ -37,7 +37,6 @@ public class ReportLayouter ...@@ -37,7 +37,6 @@ public class ReportLayouter
{ {
UnoDialog CurUnoDialog; UnoDialog CurUnoDialog;
static final int SOTXTTITLE = 28;
static final int SOCONTENTLST = 29; static final int SOCONTENTLST = 29;
final static public int SOOPTLANDSCAPE = 30; final static public int SOOPTLANDSCAPE = 30;
final static public int SOOPTPORTRAIT = 31; final static public int SOOPTPORTRAIT = 31;
......
...@@ -52,7 +52,6 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener ...@@ -52,7 +52,6 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener
String serrTableNameexists; String serrTableNameexists;
String scomposedtablename; String scomposedtablename;
TableDescriptor curTableDescriptor; TableDescriptor curTableDescriptor;
public static final int SONULLPAGE = 0;
public static final int SOMAINPAGE = 1; public static final int SOMAINPAGE = 1;
public static final int SOFIELDSFORMATPAGE = 2; public static final int SOFIELDSFORMATPAGE = 2;
public static final int SOPRIMARYKEYPAGE = 3; public static final int SOPRIMARYKEYPAGE = 3;
......
...@@ -54,7 +54,6 @@ public class AggregateComponent extends ControlScroller ...@@ -54,7 +54,6 @@ public class AggregateComponent extends ControlScroller
int Count; int Count;
static final int SOADDROW = 1; static final int SOADDROW = 1;
static final int SOREMOVEROW = 2; static final int SOREMOVEROW = 2;
static final int CONTROLROWDIST = 18;
ArrayList<ControlRow> ControlRowVector; ArrayList<ControlRow> ControlRowVector;
int curHelpID; int curHelpID;
int lastHelpIndex; int lastHelpIndex;
......
...@@ -101,7 +101,6 @@ public class FilterComponent ...@@ -101,7 +101,6 @@ public class FilterComponent
static final int SO_SECONDBOOLFIELDNAME = 256 + 2; static final int SO_SECONDBOOLFIELDNAME = 256 + 2;
static final int SO_THIRDBOOLFIELDNAME = 256 + 3; static final int SO_THIRDBOOLFIELDNAME = 256 + 3;
static final int SO_FOURTHBOOLFIELDNAME = 256 + 4; static final int SO_FOURTHBOOLFIELDNAME = 256 + 4;
static final int SO_OPTQUERYMODE = 5;
int SOI_MATCHALL = 0; int SOI_MATCHALL = 0;
int SOI_MATCHANY = 1; int SOI_MATCHANY = 1;
int curHelpID; int curHelpID;
......
...@@ -59,11 +59,9 @@ public interface UIConsts ...@@ -59,11 +59,9 @@ public interface UIConsts
public static final int RADIOBUTTON = 6; public static final int RADIOBUTTON = 6;
public static final int DATEFIELD = 7; public static final int DATEFIELD = 7;
public static final int EDITCONTROL = 8; public static final int EDITCONTROL = 8;
public static final int FILECONTROL = 9;
public static final int FIXEDLINE = 10; public static final int FIXEDLINE = 10;
public static final int FIXEDTEXT = 11; public static final int FIXEDTEXT = 11;
public static final int FORMATTEDFIELD = 12; public static final int FORMATTEDFIELD = 12;
public static final int GROUPBOX = 13;
public static final int HYPERTEXT = 14; public static final int HYPERTEXT = 14;
public static final int NUMERICFIELD = 15; public static final int NUMERICFIELD = 15;
public static final int PATTERNFIELD = 16; public static final int PATTERNFIELD = 16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment