From c63d063a73b31f9538dae2bd52da605a2dfdbd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Mon, 1 Dec 2003 15:23:30 +0000 Subject: [PATCH] INTEGRATION: CWS ooo20031110 (1.11.186); FILE MERGED 2003/11/11 11:03:34 waratah 1.11.186.1: #i22301# Correct for scoping rules --- xmloff/source/style/styleexp.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 7e96cf859bd0..18d3c5d23158 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: styleexp.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: dvo $ $Date: 2001-10-25 20:57:03 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:23:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -388,8 +388,9 @@ void XMLStyleExport::exportStyleFamily( // the names of all exported styles are remembered. SvStringsSortDtor *pExportedStyles = 0; sal_Bool bFirstStyle = sal_True; + sal_Int32 i; - for( sal_Int32 i=0; i < nStyles; i++ ) + for( i = 0; i < nStyles; i++ ) { Reference< XStyle > xStyle; try