Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 10, 2015
1 parent df2d00c commit 3390f23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/qgspallabeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 3390f23

Please sign in to comment.