Revision 21358 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameLegend.java

View differences:

FFrameLegend.java
252 252
                } else if (layer instanceof Classifiable && !(layer instanceof IHasImageLegend) ) {
253 253
                    Classifiable cO = (Classifiable) layer;
254 254

  
255
                    if (cO.getLegend() instanceof IClassifiedLegend && !(cO instanceof FLyrAnnotation)) {
255
                    if (cO.getLegend() instanceof IClassifiedLegend){// && !(cO instanceof FLyrAnnotation)) {
256 256
                        IClassifiedLegend cli = (IClassifiedLegend) cO.getLegend();
257 257
                        double dX = 0;
258 258
                        double dY = n[0] * h;
......
528 528
                    Classifiable cO = (Classifiable) layer;
529 529
                    n++;
530 530

  
531
                    if (cO.getLegend() instanceof IClassifiedLegend && !(cO instanceof FLyrAnnotation)) {
531
                    if (cO.getLegend() instanceof IClassifiedLegend){// && !(cO instanceof FLyrAnnotation)) {
532 532
                        IClassifiedLegend cli = (IClassifiedLegend) cO.getLegend();
533 533

  
534 534
                        for (int j = 0; j < cli.getValues().length; j++) {

Also available in: Unified diff