mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed error handling
This commit is contained in:
parent
c1584f30d2
commit
159e5aeae9
@ -113,10 +113,11 @@ Projection::Projection(const PCS *pcs) : _gcs(0), _ct(0), _geographic(false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Projection::Projection(const GCS *gcs, const CoordinateSystem &cs)
|
Projection::Projection(const GCS *gcs, const CoordinateSystem &cs)
|
||||||
: _gcs(gcs), _units(LinearUnits(9001)), _cs(cs), _geographic(true)
|
: _gcs(gcs), _ct(0), _units(LinearUnits(9001)), _cs(cs), _geographic(true)
|
||||||
{
|
{
|
||||||
if (!gcs)
|
if (!gcs)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_ct = new LatLon(gcs->angularUnits());
|
_ct = new LatLon(gcs->angularUnits());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user