Skip to content
Permalink
Browse files

indentation fix

  • Loading branch information
jef-n committed Dec 15, 2016
1 parent b747257 commit 92fd49874fa43d064dca7e95faf3fc574cc53065
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/dwg/qgsdwgimporter.cpp
@@ -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" );
@@ -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();

0 comments on commit 92fd498

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