diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 11:51:29 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:36 +0100 |
commit | f74379741fad32b015f47ca6247e4b7804725a38 (patch) | |
tree | a0fe89b7b09c7ccaa0e45591d3c345b5b0182c79 /dtrans/source/win32 | |
parent | WaE: suggest explicit braces to avoid ambiguous 'else' (diff) | |
download | core-f74379741fad32b015f47ca6247e4b7804725a38.tar.gz core-f74379741fad32b015f47ca6247e4b7804725a38.zip |
fix indentation
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r-- | dtrans/source/win32/misc/ImplHelper.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx index 169d739f4280..5243aaccc51e 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/dtrans/source/win32/misc/ImplHelper.cxx @@ -407,17 +407,17 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC* if ( nMatch == FORMATETC_EXACT_MATCH || nMatch == FORMATETC_PARTIAL_MATCH ) { - if ( pFetcLhs->tymed == pFetcRhs->tymed ) - // same medium flags; equal - ; - else if ( ( pFetcLhs->tymed & ~pFetcRhs->tymed ) != 0 ) - { - // left not subset of medium flags of right; not equal - nMatch = FORMATETC_NO_MATCH; - } - else - // left subset of right - nMatch = FORMATETC_PARTIAL_MATCH; + if ( pFetcLhs->tymed == pFetcRhs->tymed ) + // same medium flags; equal + ; + else if ( ( pFetcLhs->tymed & ~pFetcRhs->tymed ) != 0 ) + { + // left not subset of medium flags of right; not equal + nMatch = FORMATETC_NO_MATCH; + } + else + // left subset of right + nMatch = FORMATETC_PARTIAL_MATCH; } } } |