mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
350753372e
commit
46fc648ec0
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user