WaE: suggest explicit braces to avoid ambiguous 'else'

This commit is contained in:
David Tardon 2012-03-08 11:49:28 +01:00
parent 55afdcce6d
commit 1be53d0081

View File

@ -385,7 +385,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
{
#endif
if ( pFetcLhs != pFetcRhs )
{
if ( ( pFetcLhs->cfFormat != pFetcRhs->cfFormat ) ||
( pFetcLhs->lindex != pFetcRhs->lindex ) ||
!CompareTargetDevice( pFetcLhs->ptd, pFetcRhs->ptd ) )
@ -420,6 +420,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
nMatch = FORMATETC_PARTIAL_MATCH;
}
}
}
#ifdef __MINGW32__
else
#else