Skip to content
Permalink
Browse files

Default constructor of QgsProjectParser is private

  • Loading branch information
marco
marco committed Oct 15, 2011
1 parent 3d9a0ae commit 3996d89aa1c6e9ea8e7c88feac320eaba42d8613
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/mapserver/qgsprojectparser.cpp
  2. +4 −0 src/mapserver/qgsprojectparser.h
@@ -71,6 +71,10 @@ QgsProjectParser::QgsProjectParser( QDomDocument* xmlDoc, const QString& filePat
}
}

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

QgsProjectParser::~QgsProjectParser()
{
delete mXMLDoc;
@@ -102,6 +102,10 @@ class QgsProjectParser: public QgsConfigParser
void serviceCapabilities( QDomElement& parentElement, QDomDocument& doc ) const;

private:

//forbidden
QgsProjectParser();

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

0 comments on commit 3996d89

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