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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Nov 25 06:15:55 EST 2009


Author: jef
Date: 2009-11-25 06:15:54 -0500 (Wed, 25 Nov 2009)
New Revision: 12253

Modified:
   trunk/qgis/src/core/composer/qgscomposerarrow.cpp
   trunk/qgis/src/core/composer/qgscomposerarrow.h
Log:
fix build error on windows

Modified: trunk/qgis/src/core/composer/qgscomposerarrow.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposerarrow.cpp	2009-11-25 10:50:20 UTC (rev 12252)
+++ trunk/qgis/src/core/composer/qgscomposerarrow.cpp	2009-11-25 11:15:54 UTC (rev 12253)
@@ -87,7 +87,7 @@
   }
 }
 
-void QgsComposerArrow::QgsComposerArrow::setSceneRect( const QRectF& rectangle )
+void QgsComposerArrow::setSceneRect( const QRectF& rectangle )
 {
   //maintain the relative position of start and stop point in the rectangle
   double startPointXPos = ( mStartPoint.x() - transform().dx() ) / rect().width();

Modified: trunk/qgis/src/core/composer/qgscomposerarrow.h
===================================================================
--- trunk/qgis/src/core/composer/qgscomposerarrow.h	2009-11-25 10:50:20 UTC (rev 12252)
+++ trunk/qgis/src/core/composer/qgscomposerarrow.h	2009-11-25 11:15:54 UTC (rev 12253)
@@ -21,7 +21,7 @@
 #include "qgscomposeritem.h"
 
 /**An item that draws an arrow between to points*/
-class QgsComposerArrow: public QgsComposerItem
+class CORE_EXPORT QgsComposerArrow: public QgsComposerItem
 {
   public:
     QgsComposerArrow( QgsComposition* c );



More information about the QGIS-commit mailing list