Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[layout] Remove legacy import
- Loading branch information
Showing
with
0 additions
and
11 deletions.
-
+0
−11
src/core/layout/qgslayoutmanager.cpp
|
@@ -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; |
|
|