From 1df9d5767b3222cace051a75259dea5d951cbfaf Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj i Gelonch Date: Wed, 8 Oct 2014 18:22:16 +0200 Subject: scripting: as of release 5, 'enum' is a keyword Change-Id: Ia45890892f3a0fa89b4c1f97a4c169de5e25c593 Reviewed-on: https://gerrit.libreoffice.org/11860 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- .../openoffice/netbeans/modules/office/options/OfficeSettings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripting') 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; } -- cgit