Skip to content

Commit

Permalink
Default constructor of QgsProjectParser is private
Browse files Browse the repository at this point in the history
  • Loading branch information
marco committed Oct 15, 2011
1 parent 3d9a0ae commit 3996d89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mapserver/qgsprojectparser.cpp
Expand Up @@ -71,6 +71,10 @@ QgsProjectParser::QgsProjectParser( QDomDocument* xmlDoc, const QString& filePat
}
}

QgsProjectParser::QgsProjectParser(): mXMLDoc( 0 )
{
}

QgsProjectParser::~QgsProjectParser()
{
delete mXMLDoc;
Expand Down
4 changes: 4 additions & 0 deletions src/mapserver/qgsprojectparser.h
Expand Up @@ -102,6 +102,10 @@ class QgsProjectParser: public QgsConfigParser
void serviceCapabilities( QDomElement& parentElement, QDomDocument& doc ) const;

private:

//forbidden
QgsProjectParser();

/**Content of project file*/
QDomDocument* mXMLDoc;

Expand Down

0 comments on commit 3996d89

Please sign in to comment.