Revision 6094 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ViewPort.java
ViewPort.java | ||
---|---|---|
656 | 656 |
* @param proj The proj to set. |
657 | 657 |
*/ |
658 | 658 |
public void setProjection(IProjection proj) { |
659 |
if (!this.proj.getAbrev().equals(proj.getAbrev())) {
|
|
659 |
if(this.proj == null || !this.proj.getAbrev().equals(proj.getAbrev()))
|
|
660 | 660 |
this.proj = proj; |
661 |
callProjectionChanged(proj); |
|
662 |
}
|
|
661 |
|
|
662 |
callProjectionChanged(proj);
|
|
663 | 663 |
} |
664 | 664 |
|
665 | 665 |
/** |
Also available in: Unified diff