Author: pfg
Date: Sat Jan 21 22:02:10 2017
New Revision: 1779758
URL: http://svn.apache.org/viewvc?rev=1779758&view=rev
Log:
Yet another weirdness found with clang 4.0.
Modified:
openoffice/trunk/main/desktop/source/app/officeipcthread.cxx
Modified: openoffice/trunk/main/desktop/source/app/officeipcthread.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/desktop/source/app/officeipcthread.cxx?rev=1779758&r1=1779757&r2=1779758&view=diff
==============================================================================
--- openoffice/trunk/main/desktop/source/app/officeipcthread.cxx (original)
+++ openoffice/trunk/main/desktop/source/app/officeipcthread.cxx Sat Jan 21
22:02:10 2017
@@ -225,7 +225,7 @@ String CreateMD5FromString( const OUStri
// BACK: Str "ababab....0f" Hexcode String
rtlDigest handle = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
- if ( handle > 0 )
+ if ( handle != NULL )
{
const sal_uInt8* pData = (const sal_uInt8*)aMsg.getStr();
sal_uInt32 nSize = ( aMsg.getLength() * sizeof(
sal_Unicode ));