WaE: suggest explicit braces to avoid ambiguous 'else'
This commit is contained in:
@@ -385,7 +385,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
|
|||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
if ( pFetcLhs != pFetcRhs )
|
if ( pFetcLhs != pFetcRhs )
|
||||||
|
{
|
||||||
if ( ( pFetcLhs->cfFormat != pFetcRhs->cfFormat ) ||
|
if ( ( pFetcLhs->cfFormat != pFetcRhs->cfFormat ) ||
|
||||||
( pFetcLhs->lindex != pFetcRhs->lindex ) ||
|
( pFetcLhs->lindex != pFetcRhs->lindex ) ||
|
||||||
!CompareTargetDevice( pFetcLhs->ptd, pFetcRhs->ptd ) )
|
!CompareTargetDevice( pFetcLhs->ptd, pFetcRhs->ptd ) )
|
||||||
@@ -420,6 +420,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
|
|||||||
nMatch = FORMATETC_PARTIAL_MATCH;
|
nMatch = FORMATETC_PARTIAL_MATCH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
else
|
else
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user