Skip to content
Permalink
Browse files
fix warnings
  • Loading branch information
jef-n committed Mar 31, 2012
1 parent 2e5112d commit 767439cfc26eea2633b013604241c79448756c13
@@ -111,6 +111,8 @@ class ANALYSIS_EXPORT QgsGeometryAnalyzer
@param unlocatedFeatureIds out: ids of event features where linear referencing was not successful
@param locationField1 attribute index of location field in event layer
@param locationField2 attribute index of location end field (or -1 for point layer)
@param offsetField attribute index for offset field
@param offsetScale factor to scale offset
@param forceSingleGeometry force layer to single point/line type. Feature attributes are copied in case of multiple matches
@param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
@param p progress dialog or 0 if no progress dialog should be shown
@@ -146,8 +148,8 @@ class ANALYSIS_EXPORT QgsGeometryAnalyzer
bool forceSingleType = false );
/**Create geometry offset relative to line geometry.
@param geom the geometry to modify
@param the line geometry to wich the feature is referenced
@param offset the offset value in layer unit. Negativ value means offset towards left, positive value is offset to the right side*/
@param lineGeom the line geometry to which the feature is referenced
@param offset the offset value in layer unit. Negative values mean offset towards left, positive values offset to the right side*/
void createOffsetGeometry( QgsGeometry* geom, QgsGeometry* lineGeom, double offset );
QgsPoint createPointOffset( double x, double y, double dist, QgsGeometry* lineGeom ) const;
unsigned char* locateBetweenWkbString( unsigned char* ptr, QgsMultiPolyline& result, double fromMeasure, double toMeasure );
@@ -303,6 +303,7 @@ bool QgsCoordinateReferenceSystem::axisInverted() const
? ( orientation == OAO_East || orientation == OAO_West || orientation == OAO_Other )
: ( orientation == OAO_North || orientation == OAO_South );
QgsDebugMsg( QString( "srid:%1 axis0:%2 orientation:%3 inverted:%4" ).arg( mSRID ).arg( axis0 ).arg( OSRAxisEnumToName( orientation ) ).arg( mAxisInverted ) );
Q_UNUSED( axis0 );
}

return mAxisInverted != 0;
@@ -215,6 +215,7 @@ void addToTmpNodes(QgsSearchTreeNode* node)
void joinTmpNodes(QgsSearchTreeNode* parent, QgsSearchTreeNode* left, QgsSearchTreeNode* right)
{
bool res;
Q_UNUSED(res);

if (left)
{
@@ -566,6 +566,7 @@ void Screen::copyFromScreen( Character* dest , int startLine , int count ) const

void Screen::getImage( Character* dest, int size, int startLine, int endLine ) const
{
Q_UNUSED( size );
Q_ASSERT( startLine >= 0 );
Q_ASSERT( endLine >= startLine && endLine < hist->getLines() + lines );

@@ -216,6 +216,7 @@ void HeatmapGui::on_mInputVectorCombo_currentIndexChanged( int index )

void HeatmapGui::on_radiusFieldCombo_currentIndexChanged( int index )
{
Q_UNUSED( index );
updateBBox();
QgsDebugMsg( QString( "Radius Field index changed to %1" ).arg( index ) );
}

0 comments on commit 767439c

Please sign in to comment.