diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 12:32:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 22:45:00 +0200 |
commit | 722c921168fa0152616081c09434b6d0378aa306 (patch) | |
tree | b962f160cf2de1b8c9dc38cf7a37506c37fa80e5 /wizards | |
parent | ccc81cd002070a392cb326e0b2fbdf84c87292f9 (diff) |
cid#1448328 UC: Useless code
Change-Id: Ie6a64927bff7536ce34cc802341e13046d655ab4
Reviewed-on: https://gerrit.libreoffice.org/76141
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/db/TypeInspector.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index 4acc32e1af08..831378e96188 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -57,7 +57,6 @@ public class TypeInspector ArrayList<Integer> aPrecisionVector = new ArrayList<Integer>(); ArrayList<Integer> aMinScaleVector = new ArrayList<Integer>(); ArrayList<Integer> aMaxScaleVector = new ArrayList<Integer>(); - ArrayList<Integer> aSearchableVector = new ArrayList<Integer>(); XRow xRow = UnoRuntime.queryInterface(XRow.class, _xResultSet); while (_xResultSet.next()) { @@ -65,7 +64,6 @@ public class TypeInspector aTypeVector.add(Integer.valueOf(xRow.getShort(2))); aPrecisionVector.add(Integer.valueOf(xRow.getInt(3))); aNullableVector.add(Integer.valueOf(xRow.getShort(7))); - aSearchableVector.add(Integer.valueOf(xRow.getShort(9))); aAutoIncrementVector.add(Boolean.valueOf(xRow.getBoolean(12))); aMinScaleVector.add(Integer.valueOf(xRow.getShort(14))); aMaxScaleVector.add(Integer.valueOf(xRow.getShort(15))); @@ -75,7 +73,6 @@ public class TypeInspector aTypeNameVector.toArray(sDataTypeNames); nDataTypeInfos = JavaTools.IntegerTointList(aTypeVector); nNullableInfos = JavaTools.IntegerTointList(aNullableVector); - JavaTools.IntegerTointList(aSearchableVector); bisAutoIncrementableInfos = JavaTools.BooleanTobooleanList(aAutoIncrementVector); nPrecisionInfos = JavaTools.IntegerTointList(aPrecisionVector); nMinScaleInfos = JavaTools.IntegerTointList(aMinScaleVector); |