Skip to content

Commit 01c0d20

Browse files
committedJul 10, 2018
fix indentation
1 parent ed8a78c commit 01c0d20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/core/qgsvectordataprovider.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
311311
if ( field.length() > 0 )
312312
{
313313
// source length limited
314-
if ( ( nativeType.mMinLen > 0 && field.length() < nativeType.mMinLen ) ||
315-
( nativeType.mMaxLen > 0 && field.length() > nativeType.mMaxLen ) )
314+
if (( nativeType.mMinLen > 0 && field.length() < nativeType.mMinLen ) ||
315+
( nativeType.mMaxLen > 0 && field.length() > nativeType.mMaxLen ) )
316316
{
317317
// source length exceeds destination limits
318318
continue;
@@ -322,8 +322,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
322322
if ( field.precision() > 0 )
323323
{
324324
// source precision limited
325-
if ( ( nativeType.mMinPrec > 0 && field.precision() < nativeType.mMinPrec ) ||
326-
( nativeType.mMaxPrec > 0 && field.precision() > nativeType.mMaxPrec ) )
325+
if (( nativeType.mMinPrec > 0 && field.precision() < nativeType.mMinPrec ) ||
326+
( nativeType.mMaxPrec > 0 && field.precision() > nativeType.mMaxPrec ) )
327327
{
328328
// source precision exceeds destination limits
329329
continue;

0 commit comments

Comments
 (0)
Please sign in to comment.