From 5dd8a7ba59eb35f31b9b85c3c59135af884d0af5 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 1 Dec 2003 16:33:04 +0000 Subject: INTEGRATION: CWS ooo20031110 (1.13.234); FILE MERGED 2003/11/13 10:57:38 waratah 1.13.234.1: #i22301# correct the for scope problems in the code --- sw/source/ui/frmdlg/colex.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sw/source/ui') diff --git a/sw/source/ui/frmdlg/colex.cxx b/sw/source/ui/frmdlg/colex.cxx index d393638fb677..a1c0ba9e7d0e 100644 --- a/sw/source/ui/frmdlg/colex.cxx +++ b/sw/source/ui/frmdlg/colex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: colex.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: vg $ $Date: 2003-04-17 15:29:42 $ + * last change: $Author: rt $ $Date: 2003-12-01 17:33:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -314,7 +314,8 @@ void SwColExample::DrawPage( const Point& rOrg, nAutoColWidth = nColumnWidthSum / nColumnCount; } - for(USHORT i = 0; i < nColumnCount; i++) + USHORT i; + for( i = 0; i < nColumnCount; i++) { if(!bAutoWidth) nAutoColWidth = pColMgr->GetColWidth( i ); -- cgit v1.2.3