[mapserver-commits] r10405 -
sandbox/sdlime/common-expressions/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Jul 28 00:15:23 EDT 2010
Author: sdlime
Date: 2010-07-28 04:15:23 +0000 (Wed, 28 Jul 2010)
New Revision: 10405
Modified:
sandbox/sdlime/common-expressions/mapserver/maplayer.c
Log:
Removed redundant call to tokenizeExpression() in msLayerWhichItems().
Modified: sandbox/sdlime/common-expressions/mapserver/maplayer.c
===================================================================
--- sandbox/sdlime/common-expressions/mapserver/maplayer.c 2010-07-27 20:17:32 UTC (rev 10404)
+++ sandbox/sdlime/common-expressions/mapserver/maplayer.c 2010-07-28 04:15:23 UTC (rev 10405)
@@ -492,7 +492,6 @@
for(i=0; i<layer->numclasses; i++) {
if(layer->class[i]->expression.type == MS_EXPRESSION) tokenizeExpression(&(layer->class[i]->expression), layer->items, &(layer->numitems));
- if(layer->class[i]->text.type == MS_EXPRESSION) tokenizeExpression(&(layer->class[i]->text), layer->items, &(layer->numitems));
for(j=0; j<layer->class[i]->numstyles; j++) {
if(layer->class[i]->styles[j]->rangeitem) layer->class[i]->styles[j]->rangeitemindex = string2list(layer->items, &(layer->numitems), layer->class[i]->styles[j]->rangeitem);
for(k=0; k<MS_STYLE_BINDING_LENGTH; k++)
More information about the mapserver-commits
mailing list