Skip to content

Commit

Permalink
Apply patch in ticket #34
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5223 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 8, 2006
1 parent 63df899 commit f65d068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsvectorlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit f65d068

Please sign in to comment.