diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:38:54 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:38:54 +0000 |
commit | 0a95929af3915c27c0e6ce6b1d935dbb767d6784 (patch) | |
tree | 8334ff6dc603181f1df32ec52afd2f791384e1bf /sal | |
parent | 49364914c27822f977078fd333d809e6bcf8b5e3 (diff) |
INTEGRATION: CWS warnings01 (1.28.12); FILE MERGED
2006/05/24 00:24:55 sb 1.28.12.2: RESYNC: (1.28-1.29); FILE MERGED
2005/11/18 09:13:29 sb 1.28.12.1: #i53898# Made code warning-free (in some cases reverting previous attempts).
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tencinfo.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sal/textenc/tencinfo.c b/sal/textenc/tencinfo.c index 921fc8d29738..2ef68573a2bf 100644 --- a/sal/textenc/tencinfo.c +++ b/sal/textenc/tencinfo.c @@ -4,9 +4,9 @@ * * $RCSfile: tencinfo.c,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: rt $ $Date: 2006-05-04 08:29:42 $ + * last change: $Author: hr $ $Date: 2006-06-20 04:38:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -59,10 +59,11 @@ sal_Bool SAL_CALL rtl_isOctetTextEncoding(rtl_TextEncoding nEncoding) { - return nEncoding > RTL_TEXTENCODING_DONTKNOW - && nEncoding <= RTL_TEXTENCODING_PT154 - /* always update this! */ - && nEncoding != 9; /* RTL_TEXTENCODING_SYSTEM */ + return (sal_Bool) + (nEncoding > RTL_TEXTENCODING_DONTKNOW + && nEncoding <= RTL_TEXTENCODING_PT154 + /* always update this! */ + && nEncoding != 9); /* RTL_TEXTENCODING_SYSTEM */ } /* ======================================================================= */ |