diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index d55083f7c09e..c1ecbf82cf22 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -1980,7 +1980,7 @@ OString SvMetaAttribute::Compare( SvMetaAttribute* pAttr ) if ( aType->GetType() == TYPE_METHOD ) { // Test only when the attribute is a method not if it has one! - if ( !pAttr->GetType()->GetType() == TYPE_METHOD ) + if ( pAttr->GetType()->GetType() != TYPE_METHOD ) aStr.append(" IsMethod\n"); else if ( aType->GetReturnType() && aType->GetReturnType()->GetType() != pAttr->GetType()->GetReturnType()->GetType() ) |