Skip to content

Commit 42026af

Browse files
committedJan 16, 2017
fix msvc build (followup acf74a6)
1 parent 660df4a commit 42026af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsmaprenderercustompainterjob.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void QgsMapRendererCustomPainterJob::start()
7575
#ifndef QT_NO_DEBUG
7676
QPaintDevice* thePaintDevice = mPainter->device();
7777
QString errMsg = QString( "pre-set DPI not equal to painter's DPI (%1 vs %2)" ).arg( thePaintDevice->logicalDpiX() ).arg( mSettings.outputDpi() );
78-
Q_ASSERT_X( thePaintDevice->logicalDpiX() == round( mSettings.outputDpi() ), "Job::startRender()", errMsg.toAscii().data() );
78+
Q_ASSERT_X( thePaintDevice->logicalDpiX() == qgsRound( mSettings.outputDpi() ), "Job::startRender()", errMsg.toAscii().data() );
7979
#endif
8080

8181
delete mLabelingEngine;

0 commit comments

Comments
 (0)
Please sign in to comment.