Skip to content
Permalink
Browse files

fix indentation

  • Loading branch information
slarosa committed Jul 10, 2018
1 parent ed8a78c commit 01c0d20b2c3caa23efed817eb6ac423221d6b822
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/qgsvectordataprovider.cpp
@@ -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;
@@ -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;

0 comments on commit 01c0d20

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