Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 8, 2017
1 parent df8bda2 commit 1fdfecf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/core/composer/qgscomposeritem.cpp
Expand Up @@ -143,12 +143,6 @@ void QgsComposerItem::setSelected( bool s )

bool QgsComposerItem::_writeXml( QDomElement &itemElem, QDomDocument &doc ) const
{
QgsPathResolver pathResolver;
if ( composition() )
pathResolver = composition()->project()->pathResolver();
QgsReadWriteContext context;
context.setPathResolver( pathResolver );

if ( itemElem.isNull() )
{
return false;
Expand Down

0 comments on commit 1fdfecf

Please sign in to comment.