summaryrefslogtreecommitdiffstats
path: root/sax
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-12-01 15:04:29 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-12-01 15:04:29 +0000
commitd7857c91b1a91528004e18fa37b7c2812ee88402 (patch)
treeca19b50711f5348fa26613e10c0bef0a1f98623d /sax
parentINTEGRATION: CWS ooo20031110 (1.8.44); FILE MERGED (diff)
downloadcore-d7857c91b1a91528004e18fa37b7c2812ee88402.tar.gz
core-d7857c91b1a91528004e18fa37b7c2812ee88402.zip
INTEGRATION: CWS ooo20031110 (1.10.52); FILE MERGED
2003/11/10 11:14:52 waratah 1.10.52.1: #i22301# resolve for scope issues
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/sax_expat.cxx8
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();