Applied patch in ticket #202

git-svn-id: http://svn.osgeo.org/qgis/trunk@5624 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
g_j_m 2006-07-23 21:54:35 +00:00
parent 350753372e
commit 46fc648ec0

View File

@ -18,7 +18,7 @@
#include "qgsmaplayerset.h"
#include "qgsmaplayerregistry.h"
#include "qgsproject.h"
#include <string>
void QgsMapLayerSet::setLayerSet(const std::deque<QString>& layers)
{
@ -60,7 +60,7 @@ void QgsMapLayerSet::updateFullExtent()
try
{
if ( ! lyr->coordinateTransform() )
throw QgsCsException( string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
throw QgsCsException( std::string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
mFullExtent.unionRect(lyr->coordinateTransform()->transformBoundingBox(lyr->extent()));
}