Skip to content
Permalink
Browse files
Fix warning
  • Loading branch information
mhugent committed Feb 15, 2018
1 parent 4aef3b7 commit fa815f0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -327,7 +327,7 @@ bool TestQgsDxfExport::testMtext( QgsVectorLayer *vlayer, const QString &tempFil

QString file = getTempFileName( tempFileName );
QFile dxfFile( file );
if ( !d.writeToFile( &dxfFile, QStringLiteral( "CP1252" ) ) == 0 )
if ( d.writeToFile( &dxfFile, QStringLiteral( "CP1252" ) ) != 0 )
{
return false;
}

0 comments on commit fa815f0

Please sign in to comment.