summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-12 21:27:58 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-12 21:27:58 +0300
commitb302e856f3cf8c0dcea745a94a9823f3cb01cac1 (patch)
tree00e8b073e32ee36101f2a906f9eaab466b712a59 /unoidl
parent1f3f3c94458aef5df3d30e32b497885cccf32a52 (diff)
WaE: C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in operation
Change-Id: I3fd7508a3b9c362661ad1bfa66901be9f938b8e6
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-scanner.hxx6
1 files changed, 3 insertions, 3 deletions
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<unoidl::PlainStructTypeEntity> const & theBaseEntity):
SourceProviderEntityPad(published), baseName(theBaseName),
baseEntity(theBaseEntity)
- { assert(theBaseName.isEmpty() != theBaseEntity.is()); }
+ { assert(theBaseName.isEmpty() != (bool) theBaseEntity.is()); }
OUString const baseName;
rtl::Reference<unoidl::PlainStructTypeEntity> const baseEntity;
@@ -91,7 +91,7 @@ public:
rtl::Reference<unoidl::ExceptionTypeEntity> const & theBaseEntity):
SourceProviderEntityPad(published), baseName(theBaseName),
baseEntity(theBaseEntity)
- { assert(theBaseName.isEmpty() != theBaseEntity.is()); }
+ { assert(theBaseName.isEmpty() != (bool) theBaseEntity.is()); }
OUString const baseName;
rtl::Reference<unoidl::ExceptionTypeEntity> 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(