Skip to content

Commit 34df72e

Browse files
author
jef
committed
fix osx problem (dumb math.h again)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12254 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent eb29110 commit 34df72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/composer/qgscomposerarrow.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void QgsComposerArrow::adaptItemSceneRect()
288288
{
289289
//rectangle containing start and end point
290290
QRectF rect = QRectF( std::min( mStartPoint.x(), mStopPoint.x() ), std::min( mStartPoint.y(), mStopPoint.y() ), \
291-
std::abs( mStopPoint.x() - mStartPoint.x() ), std::abs( mStopPoint.y() - mStartPoint.y() ) );
291+
fabs( mStopPoint.x() - mStartPoint.x() ), fabs( mStopPoint.y() - mStartPoint.y() ) );
292292
double enlarge;
293293
if ( mShowArrowMarker )
294294
{

0 commit comments

Comments
 (0)