dxf export: trim whitespace from layernames

This commit is contained in:
Juergen E. Fischer 2015-12-14 12:26:41 +01:00
parent a1fb1b8a93
commit 36267f5935

View File

@ -4099,7 +4099,7 @@ QString QgsDxfExport::dxfLayerName( const QString& name )
layerName.replace( '=', '_' );
layerName.replace( '\'', '_' );
return layerName;
return layerName.trimmed();
}
bool QgsDxfExport::layerIsScaleBasedVisible( const QgsMapLayer* layer ) const