Skip to content

Commit b287219

Browse files
committedDec 15, 2017
Fix warning
1 parent 2fb3c57 commit b287219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/layout/qgslayoutitemattributetable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ bool QgsLayoutItemAttributeTable::getTableContents( QgsLayoutTableContents &cont
428428
if ( layer )
429429
{
430430
//transform back to layer CRS
431-
QgsCoordinateTransform coordTransform( layer->crs(), mMap->crs() );
431+
QgsCoordinateTransform coordTransform( layer->crs(), mMap->crs(), mLayout->project() );
432432
try
433433
{
434434
selectionRect = coordTransform.transformBoundingBox( selectionRect, QgsCoordinateTransform::ReverseTransform );

0 commit comments

Comments
 (0)
Please sign in to comment.