fix warnings

This commit is contained in:
Juergen E. Fischer 2013-03-27 11:01:52 +01:00
parent 791d71dd64
commit 24f1519b1b
2 changed files with 2 additions and 1 deletions

View File

@ -751,6 +751,7 @@ bool QgsComposerLegend::readXML( const QDomElement& itemElem, const QDomDocument
else if ( name == "subgroup" ) s = QgsComposerLegendStyle::Subgroup;
else if ( name == "symbol" ) s = QgsComposerLegendStyle::Symbol;
else if ( name == "symbolLabel" ) s = QgsComposerLegendStyle::SymbolLabel;
else continue;
setStyle( s, style );
}
}

View File

@ -37,12 +37,12 @@ typedef ErrorList( topolTest::*testFunction )( double, QgsVectorLayer*, QgsVecto
class TopologyRule
{
public:
testFunction f;
bool useSecondLayer;
bool useTolerance;
bool useSpatialIndex;
QList<QGis::GeometryType> layer1SupportedTypes;
QList<QGis::GeometryType> layer2SupportedTypes;
testFunction f;
bool layer1AcceptsType( QGis::GeometryType type )
{