summaryrefslogtreecommitdiff
path: root/cppu/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-10 11:16:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 11:16:10 +0100
commit0cc4e711d3d4dd9cf512ef490fabf8395eb46d3f (patch)
treee5bd88997b77d35b9c1c548445089a415bdb9020 /cppu/source
parent5c4717416b7eeaf99765725785278a7437fdaf8a (diff)
Remove unnecessary parentheses
Change-Id: I6815a02ae8f47c40c3b8cf5692126142de867480
Diffstat (limited to 'cppu/source')
-rw-r--r--cppu/source/typelib/typelib.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index ed6b79fde098..254abd76293a 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -307,17 +307,17 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl()
pWeakMap = nullptr;
}
#if OSL_DEBUG_LEVEL > 0
- SAL_WARN_IF( (nTypeDescriptionCount), "cppu.typelib", "nTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nCompoundTypeDescriptionCount), "cppu.typelib", "nCompoundTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nIndirectTypeDescriptionCount), "cppu.typelib", "nIndirectTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nEnumTypeDescriptionCount), "cppu.typelib", "nEnumTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nInterfaceMethodTypeDescriptionCount), "cppu.typelib", "nInterfaceMethodTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nInterfaceAttributeTypeDescriptionCount), "cppu.typelib", "nInterfaceAttributeTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nInterfaceTypeDescriptionCount), "cppu.typelib", "nInterfaceTypeDescriptionCount is not zero" );
- SAL_WARN_IF( (nTypeDescriptionReferenceCount), "cppu.typelib", "nTypeDescriptionReferenceCount is not zero" );
+ SAL_WARN_IF( nTypeDescriptionCount, "cppu.typelib", "nTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nCompoundTypeDescriptionCount, "cppu.typelib", "nCompoundTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nIndirectTypeDescriptionCount, "cppu.typelib", "nIndirectTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nEnumTypeDescriptionCount, "cppu.typelib", "nEnumTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nInterfaceMethodTypeDescriptionCount, "cppu.typelib", "nInterfaceMethodTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nInterfaceAttributeTypeDescriptionCount, "cppu.typelib", "nInterfaceAttributeTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nInterfaceTypeDescriptionCount, "cppu.typelib", "nInterfaceTypeDescriptionCount is not zero" );
+ SAL_WARN_IF( nTypeDescriptionReferenceCount, "cppu.typelib", "nTypeDescriptionReferenceCount is not zero" );
#endif
- SAL_WARN_IF( (pCallbacks && !pCallbacks->empty()), "cppu.typelib", "pCallbacks is not NULL or empty" );
+ SAL_WARN_IF( pCallbacks && !pCallbacks->empty(), "cppu.typelib", "pCallbacks is not NULL or empty" );
delete pCallbacks;
pCallbacks = nullptr;