Kaydet (Commit) 56285ff9 authored tarafından David Tardon's avatar David Tardon

WaE: ordered comparison of pointer with integer zero

üst 67334e0c
......@@ -233,7 +233,7 @@ String CreateMD5FromString( const OUString& aMsg )
#endif
rtlDigest handle = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
if ( handle > 0 )
if ( handle )
{
const sal_uInt8* pData = (const sal_uInt8*)aMsg.getStr();
sal_uInt32 nSize = ( aMsg.getLength() * sizeof( sal_Unicode ));
......
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