summaryrefslogtreecommitdiffstats
path: root/scripting/java/org/openoffice
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-10-25 10:20:03 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-10-25 10:20:03 +0000
commite514d5b8bb291c034c13312ded38149649636327 (patch)
tree059721d3e140660a8fb70927ff23deb618353cc9 /scripting/java/org/openoffice
parentINTEGRATION: CWS morejava (1.10.70); FILE MERGED (diff)
downloadcore-e514d5b8bb291c034c13312ded38149649636327.tar.gz
core-e514d5b8bb291c034c13312ded38149649636327.zip
INTEGRATION: CWS morejava (1.4.88); FILE MERGED
2005/08/26 13:59:08 fridrich_strba 1.4.88.1: Issue number: Submitted by: kendy Reviewed by: fridrich_strba Allow compiling with jdk1.5.0 ("enum" is reserved word in java 5)
Diffstat (limited to 'scripting/java/org/openoffice')
-rw-r--r--scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java
index 1fa09d5e3169..b39cd4452d4c 100644
--- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java
+++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java
@@ -36,10 +36,10 @@ public class SelectPathVisualPanel extends javax.swing.JPanel {
OfficeInstallation orig = panel.getSelectedPath();
try {
- Enumeration enum = SVersionRCFile.createInstance().getVersions();
+ Enumeration enumer = SVersionRCFile.createInstance().getVersions();
- while (enum.hasMoreElements()) {
- OfficeInstallation oi = (OfficeInstallation)enum.nextElement();
+ while (enumer.hasMoreElements()) {
+ OfficeInstallation oi = (OfficeInstallation)enumer.nextElement();
installationsComboBox.addItem(oi);
}
}