mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-12 00:06:43 -04:00
fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13168 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
c15058b9eb
commit
75d4a9d7ed
@ -1409,8 +1409,6 @@ void QgsComposerMap::drawCanvasItems( QPainter* painter, const QStyleOptionGraph
|
||||
|
||||
QList<QGraphicsItem*> itemList = mMapCanvas->items();
|
||||
|
||||
int nItems = itemList.size();
|
||||
|
||||
QList<QGraphicsItem*>::iterator itemIt = itemList.begin();
|
||||
for ( ; itemIt != itemList.end(); ++itemIt )
|
||||
{
|
||||
@ -1432,11 +1430,6 @@ void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, con
|
||||
|
||||
painter->save();
|
||||
|
||||
//only for debugging
|
||||
double itemPosX = item->scenePos().x();
|
||||
double itemPosY = item->scenePos().y();
|
||||
double cWidth = mMapCanvas->width();
|
||||
double cHeight = mMapCanvas->height();
|
||||
QgsRectangle rendererExtent = mMapRenderer->extent();
|
||||
QgsRectangle composerMapExtent = mExtent;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user