From d7857c91b1a91528004e18fa37b7c2812ee88402 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 1 Dec 2003 15:04:29 +0000 Subject: INTEGRATION: CWS ooo20031110 (1.10.52); FILE MERGED 2003/11/10 11:14:52 waratah 1.10.52.1: #i22301# resolve for scope issues --- sax/source/expatwrap/sax_expat.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sax') diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 36696db125dd..b05d85466fce 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sax_expat.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: jbu $ $Date: 2002-05-15 16:33:29 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:04:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,7 +127,9 @@ OUString XmlNChar2OUString( const XML_Char *p , int nLen ) OUString XmlChar2OUString( const XML_Char *p ) { if( p ) { - for( int nLen = 0 ; p[nLen] ; nLen ++ ); + int nLen; + for( nLen = 0 ; p[nLen] ; nLen ++ ) + ; return XmlNChar2OUString( p , nLen ); } else return OUString(); -- cgit