summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx8
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();