[QGIS Commit] r14835 - trunk/qgis/src/core/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Dec 4 03:47:21 EST 2010


Author: jef
Date: 2010-12-04 00:47:21 -0800 (Sat, 04 Dec 2010)
New Revision: 14835

Modified:
   trunk/qgis/src/core/composer/qgscomposeritemgroup.h
Log:
fix build error

Modified: trunk/qgis/src/core/composer/qgscomposeritemgroup.h
===================================================================
--- trunk/qgis/src/core/composer/qgscomposeritemgroup.h	2010-12-03 17:20:14 UTC (rev 14834)
+++ trunk/qgis/src/core/composer/qgscomposeritemgroup.h	2010-12-04 08:47:21 UTC (rev 14835)
@@ -48,13 +48,13 @@
        * @param elem is Dom element corresponding to 'Composer' tag
        * @param doc is the Dom document
        */
-    bool writeXML( QDomElement& elem, QDomDocument & doc ) const {}
+    bool writeXML( QDomElement& elem, QDomDocument & doc ) const { return true; }
 
     /** sets state from Dom document
        * @param itemElem is Dom node corresponding to item tag
        * @param doc is the Dom document
        */
-    bool readXML( const QDomElement& itemElem, const QDomDocument& doc ) {}
+    bool readXML( const QDomElement& itemElem, const QDomDocument& doc ) { return true; }
 
     QSet<QgsComposerItem*> items() { return mItems; }
 



More information about the QGIS-commit mailing list