Skip to content

Commit 771b972

Browse files
author
g_j_m
committedJan 16, 2007
fix a couple of compiler warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@6436 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fe3c509 commit 771b972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/legend/qgslegend.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ QgsLegendLayer* QgsLegend::findLegendLayer(const QString& layerKey)
12691269
}
12701270
}
12711271
}
1272-
while(theItem = nextItem(theItem));
1272+
while((theItem = nextItem(theItem)));
12731273
return 0;
12741274
}
12751275

@@ -1763,7 +1763,7 @@ void QgsLegend::showLegendLayerFileGroups()
17631763
theFileGroup->setHidden(!mShowLegendLayerFiles);
17641764
}
17651765
}
1766-
while(theItem = nextItem(theItem));
1766+
while((theItem = nextItem(theItem)));
17671767
}
17681768

17691769
void QgsLegend::zoomToLayerExtent()

0 commit comments

Comments
 (0)
Please sign in to comment.