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;
public class NumericalHelper
{
public static final int UNKNOWN_TYPE = -32768;
public static final int BYTE_TYPE = 0;
public static final int SHORT_TYPE = 1;
public static final int INT_TYPE = 2;
......@@ -44,9 +43,6 @@ public class NumericalHelper
public static final int STRING_TYPE = -1;
public static final int BOOLEAN_TYPE = -2;
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 DEC_BASE = 10;
private static final int ASCII_LETTER_A_OFFSET = 55;
......
......@@ -40,7 +40,6 @@ public class GridControl extends Shape
public XGridColumnFactory xGridColumnFactory;
public XPropertySet xPropertySet;
XNameAccess xNameAccess;
static final String SODEFAULTNAME = "Grid1";
XControlModel xControlModel;
public XComponent xComponent;
......
......@@ -30,7 +30,6 @@ public class QuerySummary extends QueryMetaData
{
static final protected int RID_QUERY = 2300;
static final protected int RID_REPORT = 2400;
String sSummary;
Resource oResource;
private final String sSeparator;
......
......@@ -43,7 +43,6 @@ import com.sun.star.wizards.ui.TitlesComponent;
public class QueryWizard extends DatabaseObjectWizard
{
public static final String SFILLUPFIELDSLISTBOX = "fillUpFieldsListbox";
private static final int SOFIELDSELECTION_PAGE = 1;
private static final int SOSORTING_PAGE = 2;
private static final int SOFILTER_PAGE = 3;
......
......@@ -37,7 +37,6 @@ public class ReportLayouter
{
UnoDialog CurUnoDialog;
static final int SOTXTTITLE = 28;
static final int SOCONTENTLST = 29;
final static public int SOOPTLANDSCAPE = 30;
final static public int SOOPTPORTRAIT = 31;
......
......@@ -52,7 +52,6 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener
String serrTableNameexists;
String scomposedtablename;
TableDescriptor curTableDescriptor;
public static final int SONULLPAGE = 0;
public static final int SOMAINPAGE = 1;
public static final int SOFIELDSFORMATPAGE = 2;
public static final int SOPRIMARYKEYPAGE = 3;
......
......@@ -54,7 +54,6 @@ public class AggregateComponent extends ControlScroller
int Count;
static final int SOADDROW = 1;
static final int SOREMOVEROW = 2;
static final int CONTROLROWDIST = 18;
ArrayList<ControlRow> ControlRowVector;
int curHelpID;
int lastHelpIndex;
......
......@@ -101,7 +101,6 @@ public class FilterComponent
static final int SO_SECONDBOOLFIELDNAME = 256 + 2;
static final int SO_THIRDBOOLFIELDNAME = 256 + 3;
static final int SO_FOURTHBOOLFIELDNAME = 256 + 4;
static final int SO_OPTQUERYMODE = 5;
int SOI_MATCHALL = 0;
int SOI_MATCHANY = 1;
int curHelpID;
......
......@@ -59,11 +59,9 @@ public interface UIConsts
public static final int RADIOBUTTON = 6;
public static final int DATEFIELD = 7;
public static final int EDITCONTROL = 8;
public static final int FILECONTROL = 9;
public static final int FIXEDLINE = 10;
public static final int FIXEDTEXT = 11;
public static final int FORMATTEDFIELD = 12;
public static final int GROUPBOX = 13;
public static final int HYPERTEXT = 14;
public static final int NUMERICFIELD = 15;
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