diff options
Diffstat (limited to 'wizards/com')
5 files changed, 5 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index 2cd30ffcc08e..dfb5c8acce4e 100644 --- a/wizards/com/sun/star/wizards/form/StyleApplier.java +++ b/wizards/com/sun/star/wizards/form/StyleApplier.java @@ -224,7 +224,7 @@ public class StyleApplier { sPropValue = JavaTools.replaceSubString(sPropValue, PropertyNames.EMPTY_STRING, PropertyNames.SEMI_COLON); sPropValue = JavaTools.replaceSubString(sPropValue, PropertyNames.EMPTY_STRING, PropertyNames.SPACE); - return Integer.decode(sPropValue).intValue(); + return Integer.parseInt(sPropValue); } } } diff --git a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java index ee477c473205..efc840283f08 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java +++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java @@ -240,7 +240,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme } getRecordParser().setRecordFieldNames(sNewList); getRecordParser().GroupFieldNames = JavaTools.ArrayoutofString(sGroupFieldNames, PropertyNames.SEMI_COLON); - int nOrigCommandType = Integer.valueOf(sCommandType).intValue(); + int nOrigCommandType = Integer.parseInt(sCommandType); getRecordParser().setCommandType(nOrigCommandType); sMsgQueryCreationImpossible = JavaTools.replaceSubString(sMsgQueryCreationImpossible, getRecordParser().Command, "<STATEMENT>"); diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java index 3a2b78b0109e..4c67f0b6c70a 100644 --- a/wizards/com/sun/star/wizards/ui/FilterComponent.java +++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java @@ -189,7 +189,7 @@ public class FilterComponent */ private void togglefollowingControlRow(String _scurName) { - int Index = Integer.valueOf(getIndexNumber(_scurName)).intValue(); + int Index = Integer.parseInt(getIndexNumber(_scurName)); if (Index < oControlRows.length) { boolean bValue = oControlRows[Index - 1].isConditionComplete(); diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index 78c19ea3400f..35c301dc833a 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -763,7 +763,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener { Object image = ((EventObject) event).Source; String controlName = (String) Helper.getUnoPropertyValue(getModel(image), PropertyNames.PROPERTY_NAME); - return Integer.valueOf(controlName.substring(6 + name.length())).intValue(); + return Integer.parseInt(controlName.substring(6 + name.length())); } diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java index c36e8b78a2c7..5df239a9ec93 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java @@ -420,7 +420,7 @@ public class DataAwareFields } else if (value instanceof String) { - return Double.valueOf((String) value).doubleValue(); + return Double.parseDouble((String) value); } else if (value instanceof short[]) { |