1
0
Fork 0

MapWidget: silence compiler warning

This commit is contained in:
Christian Schmitt 2014-02-02 16:47:25 +01:00
parent 43b8d157ce
commit a0184ac80c

View file

@ -1647,6 +1647,9 @@ SGGeod MapWidget::unproject(const SGVec2d& p) const
SGVec3d cartPt = orient.rotate(SGVec3d(unscaled.x(), unscaled.y(), 0.0)); SGVec3d cartPt = orient.rotate(SGVec3d(unscaled.x(), unscaled.y(), 0.0));
return SGGeod::fromCart(cartPt + cartCenter); return SGGeod::fromCart(cartPt + cartCenter);
} }
default:
throw sg_exception("MapWidget::unproject(): requested unknown projection");
} // of projection mode switch } // of projection mode switch
} }