Skip to content

Commit

Permalink
Removed debugger probes that give compiler warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6629 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 18, 2007
1 parent 01d4209 commit 4e98207
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions src/app/qgisapp.cpp
Expand Up @@ -2410,9 +2410,6 @@ static
void
findLayers_( QString const & fileFilters, list<QDomNode> const & layerNodes )
{
#ifdef QGISDEBUG
const char * fileFiltersC = fileFilters.ascii(); // debugger probe
#endif

for( list<QDomNode>::const_iterator i = layerNodes.begin();
i != layerNodes.end();
Expand Down Expand Up @@ -2833,16 +2830,10 @@ bool QgisApp::fileSave()
if( "qgs" != fullPath.extension( false ) )
{
QString newFilePath = fullPath.filePath() + ".qgs";
#ifdef QGISDEBUG
const char* filePathStr = newFilePath.ascii(); // debugger probe
#endif
fullPath.setFile( newFilePath );
}


#ifdef QGISDEBUG
const char* filePathStr = fullPath.filePath().ascii(); // debugger probe
#endif
QgsProject::instance()->filename( fullPath.filePath() );
}

Expand Down Expand Up @@ -2919,9 +2910,6 @@ void QgisApp::fileSaveAs()
if( "qgs" != fullPath.extension( false ) )
{
QString newFilePath = fullPath.filePath() + ".qgs";
#ifdef QGISDEBUG
const char* filePathStr = newFilePath.ascii(); // debugger probe
#endif
fullPath.setFile( newFilePath );
}

Expand Down
4 changes: 0 additions & 4 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -404,10 +404,6 @@ QString QgsVectorLayerProperties::getMetadata()
{
QString vectorTypeString( QGis::qgisVectorGeometryType[layer->vectorType()] );

#ifdef QGISDEBUG
const char* vectorTypeProbe = vectorTypeString.ascii(); // debugger probe point
#endif

myMetadataQString += "<tr><td bgcolor=\"white\">";
myMetadataQString += tr("Geometry type of the features in this layer : ") +
vectorTypeString;
Expand Down

0 comments on commit 4e98207

Please sign in to comment.