Mercurial > mxd2map
changeset 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 |
files | ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 20 17:56:29 2011 +0200 +++ b/ChangeLog Wed Jul 20 18:22:59 2011 +0200 @@ -1,3 +1,8 @@ +2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> + + * src/java/de/intevation/mxd/writer/MapScriptWriter.java: + Remove leading and trailing whitespaces from labelitem. + 2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/writer/MapScriptWriter.java:
--- 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.