diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:45:47 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 04:45:47 +0000 |
commit | 5eaaa5d649e0d3a1eaba36bfc11e0194667c99ed (patch) | |
tree | ce47a654d1e64fa1a60b3fe27a6c56e1f93a08d5 /rsc | |
parent | c129751a61ccf29d76ea13241cdd7a553e888566 (diff) |
INTEGRATION: CWS warnings01 (1.12.8); FILE MERGED
2006/05/24 01:14:06 sb 1.12.8.4: RESYNC: (1.12-1.13); FILE MERGED
2006/03/06 16:08:06 pl 1.12.8.3: #i55991# removed warnings for windows platform
2005/10/27 13:55:55 pl 1.12.8.2: #i55991# removed warnings for solaris platform
2005/10/14 12:29:07 pl 1.12.8.1: #i55991# remove warnings due to pragma hdrstop
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/rscdb.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx index dca2b2675668..ab99b9d931a9 100644 --- a/rsc/source/parser/rscdb.cxx +++ b/rsc/source/parser/rscdb.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rscdb.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: vg $ $Date: 2006-04-07 16:32:15 $ + * last change: $Author: hr $ $Date: 2006-06-20 05:45:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -33,9 +33,6 @@ * ************************************************************************/ /****************** I N C L U D E S **************************************/ - -#pragma hdrstop - // C and C++ Includes. #include <ctype.h> // isdigit(), isalpha() #include <stdlib.h> @@ -791,13 +788,13 @@ ERRTYPE RscTypCont::WriteRc( WriteRcContext& rContext ) |* *************************************************************************/ void RscTypCont :: WriteSrc( FILE * fOutput, ULONG nFileKey, - CharSet nCharSet, BOOL bName ) + CharSet /*nCharSet*/, BOOL bName ) { RscFile * pFName; RscEnumerateRef aEnumRef( this, pRoot, fOutput ); - char aUTF8BOM[3] = { 0xef, 0xbb, 0xbf }; - fwrite( aUTF8BOM, sizeof(char), sizeof(aUTF8BOM)/sizeof(aUTF8BOM[0]), fOutput ); + unsigned char aUTF8BOM[3] = { 0xef, 0xbb, 0xbf }; + fwrite( aUTF8BOM, sizeof(unsigned char), sizeof(aUTF8BOM)/sizeof(aUTF8BOM[0]), fOutput ); if( bName ) { WriteInc( fOutput, nFileKey ); |