gui-qgsmaplayerset.cpp-ticket-202-mloskot.patch

Patch fixing qgsmaplayerset.cpp file - Mateusz Loskot -, 2006-07-21 09:01 AM

Download (815 Bytes)

View differences:

src/gui/qgsmaplayerset.cpp (working copy)
18 18
#include "qgsmaplayerset.h"
19 19
#include "qgsmaplayerregistry.h"
20 20
#include "qgsproject.h"
21
#include <string>
21 22

  
22

  
23 23
void QgsMapLayerSet::setLayerSet(const std::deque<QString>& layers)
24 24
{
25 25
  mLayerSet = layers;
......
60 60
        try
61 61
        {
62 62
          if ( ! lyr->coordinateTransform() )
63
            throw QgsCsException( string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
63
            throw QgsCsException( std::string("NO COORDINATE TRANSFORM FOUND FOR LAYER") );
64 64
              
65 65
          mFullExtent.unionRect(lyr->coordinateTransform()->transformBoundingBox(lyr->extent()));
66 66
        }