summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 18:04:50 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:24 +0100
commit56285ff96c393520ac02d7fe6143b97fbccc044a (patch)
tree67915cbd80e5af04b22c97247e92e65baac449da /desktop
parent67334e0c9a57fbfb92d579f4eb27c7dc4a62e0df (diff)
WaE: ordered comparison of pointer with integer zero
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/officeipcthread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 4eeb48ed4fd4..2cb4e6ccb11e 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -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 ));