Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Jan 18, 2014
1 parent 3305a6c commit ea486879446f89986bcfd94532d1eb832379fb83
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/core/dxf/qgsdxfpallabeling.cpp
  2. +2 −0 src/core/qgis.cpp
@@ -56,6 +56,9 @@ QgsDxfPalLabeling::~QgsDxfPalLabeling()

void QgsDxfPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext& context, QgsPalLayerSettings& tmpLyr, DrawLabelType drawType, double dpiRatio )
{
Q_UNUSED( context );
Q_UNUSED( drawType );
Q_UNUSED( dpiRatio );
//debug: print label infos
if ( mDxfExport )
{
@@ -157,6 +157,8 @@ double QGis::fromUnitToUnitFactor( QGis::UnitType fromUnit, QGis::UnitType toUni
if ( toUnit == QGis::Degrees ) return NMILE_TO_METER / DEGREE_TO_METER;
break;
}
case QGis::UnknownUnit:
break;
}
}
return 1.0;

0 comments on commit ea48687

Please sign in to comment.
You can’t perform that action at this time.