Skip to content

Commit 1e4e5fa

Browse files
author
jef
committedAug 30, 2008
cleanups
- remove superfluous backslashes - fix QgsDebugMsg macro - disable code with #if 0/#endif instead of commenting it out - remove namespaces from ogr converter plugin git-svn-id: http://svn.osgeo.org/qgis/trunk@9218 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f6e43c7 commit 1e4e5fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+107
-179
lines changed
 

‎src/app/legend/qgslegend.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void QgsLegend::removeLayer( QString layer_key )
155155
}
156156

157157
QTreeWidgetItem* theItem = firstItem();
158-
QgsDebugMsg( "called." )
158+
QgsDebugMsg( "called." );
159159

160160
while ( theItem )
161161
{
@@ -1255,7 +1255,7 @@ QTreeWidgetItem* QgsLegend::nextItem( QTreeWidgetItem* item )
12551255
{
12561256
return ( dynamic_cast<QgsLegendItem*>( litem->parent()->parent() )->nextSibling() );
12571257
}
1258-
else if ( litem->parent() && litem->parent()->parent() && litem->parent()->parent()->parent() && \
1258+
else if ( litem->parent() && litem->parent()->parent() && litem->parent()->parent()->parent() &&
12591259
(( QgsLegendItem* )( litem->parent()->parent()->parent() ) )->nextSibling() )//maximum four nesting states in the current legend
12601260
{
12611261
return ( dynamic_cast<QgsLegendItem*>( litem->parent()->parent()->parent() )->nextSibling() );

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ void QgisApp::newVectorLayer()
28592859
{
28602860
QgsDebugMsg( "ogr provider loaded" );
28612861

2862-
typedef bool ( *createEmptyDataSourceProc )( const QString&, const QString&, const QString&, QGis::WKBTYPE, \
2862+
typedef bool ( *createEmptyDataSourceProc )( const QString&, const QString&, const QString&, QGis::WKBTYPE,
28632863
const std::list<std::pair<QString, QString> >& );
28642864
createEmptyDataSourceProc createEmptyDataSource = ( createEmptyDataSourceProc ) cast_to_fptr( myLib->resolve( "createEmptyDataSource" ) );
28652865
if ( createEmptyDataSource )

0 commit comments

Comments
 (0)
Please sign in to comment.