diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:04:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:04:29 +0000 |
commit | d7857c91b1a91528004e18fa37b7c2812ee88402 (patch) | |
tree | ca19b50711f5348fa26613e10c0bef0a1f98623d | |
parent | 891fb3b0e48fed418d136e7f028d5eff766846a2 (diff) |
INTEGRATION: CWS ooo20031110 (1.10.52); FILE MERGED
2003/11/10 11:14:52 waratah 1.10.52.1: #i22301# resolve for scope issues
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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(); |