Skip to content

Commit

Permalink
fix b91d93e
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 19, 2016
1 parent b91d93e commit ce23238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5090,7 +5090,7 @@ void QgisApp::dxfExport()
//extent
if ( d.exportMapExtent() )
{
QgsCoordinateTransform t( mapCanvas()->mapSettings().destinationCrs(), QgsCoordinateReferenceSystem( d.crs(), QgsCoordinateReferenceSystem::InternalCrsId ) );
QgsCoordinateTransform t( mapCanvas()->mapSettings().destinationCrs(), d.crs() );
dxfExport.setExtent( t.transformBoundingBox( mapCanvas()->extent() ) );
}
}
Expand Down

0 comments on commit ce23238

Please sign in to comment.