diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:24:44 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:24:44 +0000 |
commit | c3b4fc9add91fe362fd7530ed2b1434f3718a96f (patch) | |
tree | c837e9e9b652e22c7470cc06c20fedc526778718 /xmloff/source/text/XMLTextColumnsContext.cxx | |
parent | d1e6bd4e4426851d465a1278657731ba36e9cd32 (diff) |
INTEGRATION: CWS ooo20031110 (1.10.194); FILE MERGED
2003/11/11 11:03:43 waratah 1.10.194.1: #i22301# Correct for scoping rules
Diffstat (limited to 'xmloff/source/text/XMLTextColumnsContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextColumnsContext.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx index 53c903df58ab..1e43deb8db4e 100644 --- a/xmloff/source/text/XMLTextColumnsContext.cxx +++ b/xmloff/source/text/XMLTextColumnsContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTextColumnsContext.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:22 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:24:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -461,7 +461,9 @@ void XMLTextColumnsContext::EndElement( ) sal_Int32 nRelWidth = 0; sal_uInt16 nColumnsWithWidth = 0; - for( sal_Int16 i=0; i < nCount; i++ ) + sal_Int16 i; + + for( i = 0; i < nCount; i++ ) { const TextColumn& rColumn = (*pColumns)[(sal_uInt16)i]->getTextColumn(); |