summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorRobert Antoni Buj i Gelonch <robert.buj@gmail.com>2014-10-08 18:22:16 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-10-08 16:28:14 +0000
commit1df9d5767b3222cace051a75259dea5d951cbfaf (patch)
tree2fe31e3bce7502a71e1b42692c8e8d3e0530fdc8 /scripting
parentab52bb712c335e88cf100b3b8336a46b7673eb98 (diff)
scripting: as of release 5, 'enum' is a keyword
Change-Id: Ia45890892f3a0fa89b4c1f97a4c169de5e25c593 Reviewed-on: https://gerrit.libreoffice.org/11860 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java
index 1caa8835b4f8..4a917987b1f6 100644
--- a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java
+++ b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java
@@ -52,11 +52,11 @@ public class OfficeSettings extends SystemOption {
SVersionRCFile sversion = SVersionRCFile.createInstance();
try {
- Enumeration enum = sversion.getVersions();
+ Enumeration enumeration = sversion.getVersions();
OfficeInstallation oi;
- while (enum.hasMoreElements()) {
- oi = (OfficeInstallation)enum.nextElement();
+ while (enumeration.hasMoreElements()) {
+ oi = (OfficeInstallation)enumeration.nextElement();
setOfficeDirectory(oi);
return;
}