Skip to content

Commit

Permalink
[layout] Remove legacy import
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 9, 2018
1 parent 3f081b8 commit 2a82fdc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/core/layout/qgslayoutmanager.cpp
Expand Up @@ -203,17 +203,6 @@ bool QgsLayoutManager::readXml( const QDomElement &element, const QDomDocument &
result = result && addLayout( l.release() );
}
}

// legacy import (to be removed!)
QgsComposition *c = createCompositionFromXml( composerNodes.at( i ).toElement(), doc );
if ( !c )
{
result = false;
continue;
}
if ( c->name().isEmpty() )
c->setName( legacyTitle );
result = result && addComposition( c );
}

QgsReadWriteContext context;
Expand Down

0 comments on commit 2a82fdc

Please sign in to comment.