diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 18:04:13 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:23 +0100 |
commit | 67334e0c9a57fbfb92d579f4eb27c7dc4a62e0df (patch) | |
tree | 8169fdc369e8ec561f02a45da664d48c60105539 /desktop | |
parent | 68fa70c3000a624a4235d933d7ba8cbc993bb931 (diff) |
WaE: ordered comparison of pointer with integer zero
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/misc/dp_misc.cxx | 2 |
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 ); } |