Revision 46730

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.fmap.control/src/main/java/org/gvsig/fmap/mapcontrol/dal/feature/swing/FeatureTable.java
292 292
        if( col < 0 ) {
293 293
            return;
294 294
        }
295
        String s = Objects.toString(this.getValueAt(row, col),null);
295
        Object v = this.getValueAt(row, col);
296
        String s;
297
        if( v instanceof Geometry ) {
298
            s = ((Geometry)v).convertToWKTQuietly();
299
        } else {
300
            s = Objects.toString(this.getValueAt(row, col),null);
301
        }
296 302
        if( StringUtils.isBlank(s) ) {
297 303
            return;
298 304
        }

Also available in: Unified diff