Skip to content
Permalink
Browse files

fix typo

  • Loading branch information
jef-n committed Jul 9, 2015
1 parent df2d00c commit 3390f23fd6a5b9b80c41dca3a5b0d31fd62cc97c
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/core/qgspallabeling.cpp
@@ -1733,15 +1733,15 @@ void QgsPalLayerSettings::registerFeature( QgsFeature& f, const QgsRenderContext

const GEOSGeometry* geos_geom = 0;
const QgsGeometry* preparedGeom = geom;
QScopedPointer<QgsGeometry> scpoedPreparedGeom;
QScopedPointer<QgsGeometry> scopedPreparedGeom;

if ( QgsPalLabeling::geometryRequiresPreparation( geom, context, ct, doClip ? extentGeom : 0 ) )
{
scpoedPreparedGeom.reset( QgsPalLabeling::prepareGeometry( geom, context, ct, doClip ? extentGeom : 0 ) );
if ( !scpoedPreparedGeom.data() )
scopedPreparedGeom.reset( QgsPalLabeling::prepareGeometry( geom, context, ct, doClip ? extentGeom : 0 ) );
if ( !scopedPreparedGeom.data() )
return;
preparedGeom = scpoedPreparedGeom.data();
geos_geom = scpoedPreparedGeom.data()->asGeos();
preparedGeom = scopedPreparedGeom.data();
geos_geom = scopedPreparedGeom.data()->asGeos();
}
else
{

0 comments on commit 3390f23

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