Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix indentation
  • Loading branch information
slarosa committed Jul 10, 2018
1 parent ed8a78c commit 01c0d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/qgsvectordataprovider.cpp
Expand Up @@ -311,8 +311,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
if ( field.length() > 0 )
{
// source length limited
if ( ( nativeType.mMinLen > 0 && field.length() < nativeType.mMinLen ) ||
( nativeType.mMaxLen > 0 && field.length() > nativeType.mMaxLen ) )
if (( nativeType.mMinLen > 0 && field.length() < nativeType.mMinLen ) ||
( nativeType.mMaxLen > 0 && field.length() > nativeType.mMaxLen ) )
{
// source length exceeds destination limits
continue;
Expand All @@ -322,8 +322,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
if ( field.precision() > 0 )
{
// source precision limited
if ( ( nativeType.mMinPrec > 0 && field.precision() < nativeType.mMinPrec ) ||
( nativeType.mMaxPrec > 0 && field.precision() > nativeType.mMaxPrec ) )
if (( nativeType.mMinPrec > 0 && field.precision() < nativeType.mMinPrec ) ||
( nativeType.mMaxPrec > 0 && field.precision() > nativeType.mMaxPrec ) )
{
// source precision exceeds destination limits
continue;
Expand Down

0 comments on commit 01c0d20

Please sign in to comment.