File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,8 +311,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
311
311
if ( field.length () > 0 )
312
312
{
313
313
// 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 ) )
316
316
{
317
317
// source length exceeds destination limits
318
318
continue ;
@@ -322,8 +322,8 @@ bool QgsVectorDataProvider::supportedType( const QgsField &field ) const
322
322
if ( field.precision () > 0 )
323
323
{
324
324
// 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 ) )
327
327
{
328
328
// source precision exceeds destination limits
329
329
continue ;
You can’t perform that action at this time.
0 commit comments