Kaydet (Commit) 67334e0c authored tarafından David Tardon's avatar David Tardon

WaE: ordered comparison of pointer with integer zero

üst 68fa70c3
...@@ -105,7 +105,7 @@ const OUString OfficePipeId::operator () () ...@@ -105,7 +105,7 @@ const OUString OfficePipeId::operator () ()
} }
rtlDigest digest = rtl_digest_create( rtl_Digest_AlgorithmMD5 ); rtlDigest digest = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
if (digest <= 0) { if (!digest) {
throw RuntimeException( throw RuntimeException(
OUSTR("cannot get digest rtl_Digest_AlgorithmMD5!"), 0 ); OUSTR("cannot get digest rtl_Digest_AlgorithmMD5!"), 0 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment