diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:00:30 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:00:30 +0000 |
commit | f8115c7bad804054b68e8df3c65b8ecbac926ed8 (patch) | |
tree | 531ca2866e5ebd3f92ee0505f5e1bdbd6232a631 /io/source/stm | |
parent | e74fbe29361bae98452dcfc1918084f8cc4039f3 (diff) |
INTEGRATION: CWS ooo20031110 (1.7.24); FILE MERGED
2003/11/10 13:31:04 waratah 1.7.24.1: #i22301# Correct for scoping rules
Diffstat (limited to 'io/source/stm')
-rw-r--r-- | io/source/stm/odata.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 4da667dea9f9..15bdd56953d7 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -2,9 +2,9 @@ * * $RCSfile: odata.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2003-04-15 15:58:19 $ + * last change: $Author: rt $ $Date: 2003-12-01 18:00:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -795,8 +795,9 @@ void ODataOutputStream::writeUTF(const OUString& Value) sal_Int32 nStrLen = Value.getLength(); const sal_Unicode * pStr = Value.getStr(); sal_Int32 nUTFLen = 0; + sal_Int32 i; - for( sal_Int32 i = 0 ; i < nStrLen ; i++ ) + for( i = 0 ; i < nStrLen ; i++ ) { sal_uInt16 c = pStr[i]; if( (c >= 0x0001) && (c <= 0x007F) ) |