Kaydet (Commit) 1df9d576 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Samuel Mehrbrodt

scripting: as of release 5, 'enum' is a keyword

Change-Id: Ia45890892f3a0fa89b4c1f97a4c169de5e25c593
Reviewed-on: https://gerrit.libreoffice.org/11860Reviewed-by: 's avatarSamuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: 's avatarSamuel Mehrbrodt <s.mehrbrodt@gmail.com>
üst ab52bb71
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment