Skip to content
Permalink
Browse files

[layout] Remove legacy import

  • Loading branch information
elpaso committed Jan 9, 2018
1 parent 3f081b8 commit 2a82fdc5d575a700b1a98c100f42393a63b7d4a7
Showing with 0 additions and 11 deletions.
  1. +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;

0 comments on commit 2a82fdc

Please sign in to comment.
You can’t perform that action at this time.