Revision 25274 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java

View differences:

FLyrVect.java
353 353

  
354 354
    			if (legend instanceof IClassifiedVectorLegend) {
355 355
    				aux = ((IClassifiedVectorLegend) legend).getClassifyingFieldNames();
356
    				for (int i = 0; i < aux.length; i++) {
357
    					fieldList.add(aux[i]);
358
    				}
356
    				if (aux!=null)
357
    					for (int i = 0; i < aux.length; i++) {
358
    						fieldList.add(aux[i]);
359
    					}
359 360
    			}
360 361

  
361 362
    			// Get the iterator over the visible features

Also available in: Unified diff