diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 199:c56547b228f9

Remove leading and trailing whitespaces from labelitem.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 20 Jul 2011 18:22:59 +0200
parents cdbf2f2dca35
children ecf2f68230a2
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Wed Jul 20 17:56:29 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Wed Jul 20 18:22:59 2011 +0200
@@ -327,7 +327,7 @@
                 if(!prefix.equals("")) {
                     expr = prefix + "." + expr;
                 }
-                layer.setLabelitem(expr);
+                layer.setLabelitem(expr.trim());
             }
 
             //Write classes.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)