diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 142:f98d2759e494

Merged with Stephans commits.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 27 Jun 2011 16:23:51 +0200
parents 8f30f7e802d6
children b2c5a66022f1
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Fri Jun 24 10:29:44 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Mon Jun 27 16:23:51 2011 +0200
@@ -265,7 +265,7 @@
             }
             //Write symbols and styles.
             NodeList l = classElement.getChildNodes();
-            for (int j = 0; j < l.getLength(); j++) {
+            for (int j = l.getLength() - 1; j >= 0; j--) {
                 Element elem = (Element)l.item(j);
 
                 String type = layerElement.getAttribute("type");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)