summaryrefslogtreecommitdiffstats
path: root/sax
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:40:37 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:40:37 +0000
commitbd96be4114edc2cca5a1c052af8935265f222278 (patch)
tree55122a61a637ed5a9fb7630211cc79ce935d5e00 /sax
parentINTEGRATION: CWS ooo20031216 (1.3.32); FILE MERGED (diff)
downloadcore-bd96be4114edc2cca5a1c052af8935265f222278.tar.gz
core-bd96be4114edc2cca5a1c052af8935265f222278.zip
INTEGRATION: CWS ooo20031216 (1.5.32); FILE MERGED
2003/12/23 11:00:28 waratah 1.5.32.1: #i1858# unitialised variable: removed erroneous int keyword
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/xml2utf.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index 82bf2d897410..8460c2f2ee60 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xml2utf.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2003-04-28 15:21:30 $
+ * last change: $Author: hr $ $Date: 2004-02-04 13:40:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -194,7 +194,7 @@ void XMLFile2UTFConverter::removeEncoding( Sequence<sal_Int8> &seq )
}
else
{
- int nStop = str.indexOf( "\"" , nStart +1);
+ nStop = str.indexOf( "\"" , nStart +1);
}
if( nStart >= 0 && nStop >= 0 && nStart+1 < nStop )
@@ -290,7 +290,7 @@ sal_Bool XMLFile2UTFConverter::scanForEncoding( Sequence< sal_Int8 > &seq )
}
else
{
- int nStop = str.indexOf( "\"" , nStart +1);
+ nStop = str.indexOf( "\"" , nStart +1);
}
if( nStart >= 0 && nStop >= 0 && nStart+1 < nStop )
{