summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf/rtftbl.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 16:27:43 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 16:27:43 +0000
commitda528ae5dd86d77f27f18645f77bac12329020ff (patch)
treeee04ff069c7c505c337e4c279868346eea64d990 /sw/source/filter/rtf/rtftbl.cxx
parentfb944e5c2f1f3cbb7a2b65e11db2d3a11c3a7427 (diff)
INTEGRATION: CWS ooo20031110 (1.17.48); FILE MERGED
2003/11/13 10:57:13 waratah 1.17.48.1: #i22301# correct the for scope problems in the code
Diffstat (limited to 'sw/source/filter/rtf/rtftbl.cxx')
-rw-r--r--sw/source/filter/rtf/rtftbl.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/filter/rtf/rtftbl.cxx b/sw/source/filter/rtf/rtftbl.cxx
index 0a29dbf4e70e..caa71cfdd5c5 100644
--- a/sw/source/filter/rtf/rtftbl.cxx
+++ b/sw/source/filter/rtf/rtftbl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rtftbl.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: hr $ $Date: 2003-11-05 14:14:11 $
+ * last change: $Author: rt $ $Date: 2003-12-01 17:27:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -652,7 +652,9 @@ void SwRTFParser::ReadTable( int nToken )
// jetzt die Boxen abgleichen
USHORT nBoxes = Min( pNewLine->GetTabBoxes().Count(), aBoxFmts.Count() );
- for( USHORT n = 0; n < nBoxes; ++n )
+ USHORT n;
+
+ for( n = 0; n < nBoxes; ++n )
{
SwTableBox* pBox = pNewLine->GetTabBoxes()[ n ];
*pBox->GetFrmFmt() = *aBoxFmts[ n ];