Navigation Menu

Skip to content

Commit

Permalink
drop invalid chars in project write entry
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 13, 2013
1 parent 5d99595 commit fe7f26f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsproject.cpp
Expand Up @@ -953,6 +953,7 @@ bool QgsProject::write()
}

QDomImplementation DomImplementation;
DomImplementation.setInvalidDataPolicy( QDomImplementation::DropInvalidChars );

QDomDocumentType documentType =
DomImplementation.createDocumentType( "qgis", "http://mrcc.com/qgis.dtd",
Expand Down

0 comments on commit fe7f26f

Please sign in to comment.