mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
fix osx problem (dumb math.h again)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12254 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
eb29110369
commit
34df72e9bb
@ -288,7 +288,7 @@ void QgsComposerArrow::adaptItemSceneRect()
|
|||||||
{
|
{
|
||||||
//rectangle containing start and end point
|
//rectangle containing start and end point
|
||||||
QRectF rect = QRectF( std::min( mStartPoint.x(), mStopPoint.x() ), std::min( mStartPoint.y(), mStopPoint.y() ), \
|
QRectF rect = QRectF( std::min( mStartPoint.x(), mStopPoint.x() ), std::min( mStartPoint.y(), mStopPoint.y() ), \
|
||||||
std::abs( mStopPoint.x() - mStartPoint.x() ), std::abs( mStopPoint.y() - mStartPoint.y() ) );
|
fabs( mStopPoint.x() - mStartPoint.x() ), fabs( mStopPoint.y() - mStartPoint.y() ) );
|
||||||
double enlarge;
|
double enlarge;
|
||||||
if ( mShowArrowMarker )
|
if ( mShowArrowMarker )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user