diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-25 10:19:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-10-25 10:19:38 +0000 |
commit | bf3ec3995c9cc0a710be8ba4dd380ada72afe720 (patch) | |
tree | 7ce4864b2842150fabc1532d1a60e64b7974343b /scripting | |
parent | 61a111668903cb6e4a014a383fad102dcd94dc6c (diff) |
INTEGRATION: CWS morejava (1.6.88); FILE MERGED
2005/08/26 13:59:08 fridrich_strba 1.6.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')
-rw-r--r-- | scripting/java/org/openoffice/idesupport/OfficeDocument.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/java/org/openoffice/idesupport/OfficeDocument.java b/scripting/java/org/openoffice/idesupport/OfficeDocument.java index 3278d15cb539..44e02aab2cee 100644 --- a/scripting/java/org/openoffice/idesupport/OfficeDocument.java +++ b/scripting/java/org/openoffice/idesupport/OfficeDocument.java @@ -4,9 +4,9 @@ * * $RCSfile: OfficeDocument.java,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:05:59 $ + * last change: $Author: hr $ $Date: 2005-10-25 11:19:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -81,9 +81,9 @@ public class OfficeDocument { zp = new ZipFile(this.file); - for (Enumeration enum = zp.entries(); enum.hasMoreElements(); ) + for (Enumeration enumer = zp.entries(); enumer.hasMoreElements(); ) { - ZipEntry ze = (ZipEntry)enum.nextElement(); + ZipEntry ze = (ZipEntry)enumer.nextElement(); if (ze.getName().endsWith(ParcelZipper.PARCEL_DESCRIPTOR_XML)) { String tmp = ze.getName(); |