Skip to content

Commit 2a82fdc

Browse files
committed
[layout] Remove legacy import
1 parent 3f081b8 commit 2a82fdc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/core/layout/qgslayoutmanager.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,6 @@ bool QgsLayoutManager::readXml( const QDomElement &element, const QDomDocument &
203203
result = result && addLayout( l.release() );
204204
}
205205
}
206-
207-
// legacy import (to be removed!)
208-
QgsComposition *c = createCompositionFromXml( composerNodes.at( i ).toElement(), doc );
209-
if ( !c )
210-
{
211-
result = false;
212-
continue;
213-
}
214-
if ( c->name().isEmpty() )
215-
c->setName( legacyTitle );
216-
result = result && addComposition( c );
217206
}
218207

219208
QgsReadWriteContext context;

0 commit comments

Comments
 (0)