Skip to content

Commit f65d068

Browse files
author
g_j_m
committedApr 8, 2006
Apply patch in ticket #34
git-svn-id: http://svn.osgeo.org/qgis/trunk@5223 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 63df899 commit f65d068

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/gui/qgsmapcanvas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ void QgsMapCanvas::zoomToSelected()
477477
#ifdef QGISDEBUG
478478
std::cout << "Throwing exception "<< __FILE__ << __LINE__ << std::endl;
479479
#endif
480-
throw QgsCsException( string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
480+
throw QgsCsException( std::string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
481481
}
482482

483483
rect = lyr->coordinateTransform()->transformBoundingBox(lyr->bBoxOfSelected());

‎src/gui/qgsvectorlayerproperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ QString QgsVectorLayerProperties::getMetadata()
437437

438438
if ( ! coordinateTransform )
439439
{
440-
throw QgsCsException( string("unable to get layer coordinate transform object") );
440+
throw QgsCsException( std::string("unable to get layer coordinate transform object") );
441441
}
442442

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

0 commit comments

Comments
 (0)
Please sign in to comment.