summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:29:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:29:12 +0000
commit89d51a5664b09ad1e4219f40921ca56ad4c713ae (patch)
tree24755d898f3ffff991554028c4cb393b77ce8835
parentdf352e8c89678f165a6131f739b1ef39a74a580a (diff)
INTEGRATION: CWS warnings01 (1.6.134); FILE MERGED
2005/09/23 01:27:45 sb 1.6.134.2: RESYNC: (1.6-1.7); FILE MERGED 2005/09/20 12:57:21 sb 1.6.134.1: #i53898# Globally disable problematic warnings.
-rw-r--r--sal/rtl/source/byteseq.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sal/rtl/source/byteseq.c b/sal/rtl/source/byteseq.c
index 0ddc93dc66e7..5e16e8883801 100644
--- a/sal/rtl/source/byteseq.c
+++ b/sal/rtl/source/byteseq.c
@@ -4,9 +4,9 @@
*
* $RCSfile: byteseq.c,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 16:00:28 $
+ * last change: $Author: hr $ $Date: 2006-06-20 04:29:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -242,7 +242,10 @@ sal_Bool SAL_CALL rtl_byte_sequence_equals( sal_Sequence *pSequence1 , sal_Seque
{
return sal_False;
}
- return (0 == rtl_compareMemory( pSequence1->elements, pSequence2->elements, pSequence1->nElements ));
+ return (sal_Bool)
+ (rtl_compareMemory(
+ pSequence1->elements, pSequence2->elements, pSequence1->nElements )
+ == 0);
}