Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 15, 2016
1 parent b747257 commit 92fd498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/dwg/qgsdwgimporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ bool QgsDwgImporter::import( const QString &drawing, QString &error, bool doExpa
QgsDebugCall;

OGRwkbGeometryType lineGeomType, hatchGeomType;
if( useCurves )
if ( useCurves )
{
#if !defined(GDAL_COMPUTE_VERSION) || GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,0,0)
error = QObject::tr( "Curves only supported with GDAL2" );
Expand Down Expand Up @@ -1178,7 +1178,7 @@ bool QgsDwgImporter::createFeature( OGRLayerH layer, OGRFeatureH f, const QgsAbs
const QgsAbstractGeometryV2 *g;
QScopedPointer<QgsAbstractGeometryV2> sg( nullptr );

if( !mUseCurves && g0.hasCurvedSegments() )
if ( !mUseCurves && g0.hasCurvedSegments() )
{
sg.reset( g0.segmentize() );
g = sg.data();
Expand Down

0 comments on commit 92fd498

Please sign in to comment.