From b302e856f3cf8c0dcea745a94a9823f3cb01cac1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 12 Sep 2013 21:27:58 +0300 Subject: WaE: C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in operation Change-Id: I3fd7508a3b9c362661ad1bfa66901be9f938b8e6 --- unoidl/source/sourceprovider-scanner.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unoidl') diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx index 450936152b98..152b9cf6ca2b 100644 --- a/unoidl/source/sourceprovider-scanner.hxx +++ b/unoidl/source/sourceprovider-scanner.hxx @@ -59,7 +59,7 @@ public: rtl::Reference const & theBaseEntity): SourceProviderEntityPad(published), baseName(theBaseName), baseEntity(theBaseEntity) - { assert(theBaseName.isEmpty() != theBaseEntity.is()); } + { assert(theBaseName.isEmpty() != (bool) theBaseEntity.is()); } OUString const baseName; rtl::Reference const baseEntity; @@ -91,7 +91,7 @@ public: rtl::Reference const & theBaseEntity): SourceProviderEntityPad(published), baseName(theBaseName), baseEntity(theBaseEntity) - { assert(theBaseName.isEmpty() != theBaseEntity.is()); } + { assert(theBaseName.isEmpty() != (bool) theBaseEntity.is()); } OUString const baseName; rtl::Reference const baseEntity; @@ -122,7 +122,7 @@ public: SourceProviderEntityPad(published), singleBase(!singleBaseName.isEmpty()) { - assert(singleBaseName.isEmpty() != singleBaseEntity.is()); + assert(singleBaseName.isEmpty() != (bool) singleBaseEntity.is()); if (singleBase) { mandatoryBases.push_back( Base( -- cgit v1.2.3