Skip to content
Permalink
Browse files

Apply patch in ticket #34

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5223 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Apr 8, 2006
1 parent 461aa04 commit f55c41e21e0dd2c2945fee0e31810ab1249b01bf
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/qgsmapcanvas.cpp
  2. +1 −1 src/gui/qgsvectorlayerproperties.cpp
@@ -477,7 +477,7 @@ void QgsMapCanvas::zoomToSelected()
#ifdef QGISDEBUG
std::cout << "Throwing exception "<< __FILE__ << __LINE__ << std::endl;
#endif
throw QgsCsException( string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
throw QgsCsException( std::string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
}

rect = lyr->coordinateTransform()->transformBoundingBox(lyr->bBoxOfSelected());
@@ -437,7 +437,7 @@ QString QgsVectorLayerProperties::getMetadata()

if ( ! coordinateTransform )
{
throw QgsCsException( string("unable to get layer coordinate transform object") );
throw QgsCsException( std::string("unable to get layer coordinate transform object") );
}

QgsRect myProjectedExtent = coordinateTransform->transformBoundingBox(layer->extent());

0 comments on commit f55c41e

Please sign in to comment.
You can’t perform that action at this time.