summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:47:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:47:00 +0000
commitba6788442c4a3615513e3edf5268e2a5886469c5 (patch)
tree4ab567335514aac0f443f43cfd2015db8af51a0a /rsc/source
parentc3bfcfce164739c36af0ffeab6409923151d0cef (diff)
INTEGRATION: CWS warnings01 (1.6.8); FILE MERGED
2006/03/06 16:08:06 pl 1.6.8.2: #i55991# removed warnings for windows platform 2005/10/14 12:29:09 pl 1.6.8.1: #i55991# remove warnings due to pragma hdrstop
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/parser/rscpar.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/rsc/source/parser/rscpar.cxx b/rsc/source/parser/rscpar.cxx
index 9f35e644e15f..2a115334dfcc 100644
--- a/rsc/source/parser/rscpar.cxx
+++ b/rsc/source/parser/rscpar.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscpar.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:51:12 $
+ * last change: $Author: hr $ $Date: 2006-06-20 05:47:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,8 +33,6 @@
*
************************************************************************/
/****************** I N C L U D E S **************************************/
-#pragma hdrstop
-
// C and C++ Includes.
#include <string.h>
@@ -206,9 +204,9 @@ void RscFileInst::GetNewLine()
pLine[ nLen++ ] = pInput[ nInputPos++ ];
if( nLen > 2 )
{
- if( pLine[nLen-3] == (char)0xef &&
- pLine[nLen-2] == (char)0xbb &&
- pLine[nLen-1] == (char)0xbf )
+ if( (unsigned char)pLine[nLen-3] == 0xef &&
+ (unsigned char)pLine[nLen-2] == 0xbb &&
+ (unsigned char)pLine[nLen-1] == 0xbf )
{
nLen -= 3;
}