summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 18:04:13 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:23 +0100
commit67334e0c9a57fbfb92d579f4eb27c7dc4a62e0df (patch)
tree8169fdc369e8ec561f02a45da664d48c60105539 /desktop
parent68fa70c3000a624a4235d933d7ba8cbc993bb931 (diff)
WaE: ordered comparison of pointer with integer zero
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 467bc990362a..d88faea0c969 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -105,7 +105,7 @@ const OUString OfficePipeId::operator () ()
}
rtlDigest digest = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
- if (digest <= 0) {
+ if (!digest) {
throw RuntimeException(
OUSTR("cannot get digest rtl_Digest_AlgorithmMD5!"), 0 );
}