diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:23:14 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:23:14 +0000 |
commit | c5828460611fd8b063bdbd6699a47ac018592cd7 (patch) | |
tree | 0a6b3b9bb7cd6d30ee231ad44b59d41f67e8e3fd /xmloff/source/style | |
parent | 954a1a59c6bf15861c406e6334f328140186eab7 (diff) |
INTEGRATION: CWS ooo20031110 (1.1.1.1.210); FILE MERGED
2003/11/11 11:03:33 waratah 1.1.1.1.210.1: #i22301# Correct for scoping rules
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/impastp3.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/style/impastp3.cxx b/xmloff/source/style/impastp3.cxx index d59656120926..fe698ada75db 100644 --- a/xmloff/source/style/impastp3.cxx +++ b/xmloff/source/style/impastp3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impastp3.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:05 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:23:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,7 +98,9 @@ sal_Bool SvXMLAutoStylePoolParentP_Impl::Add( XMLFamilyData_Impl* pFamilyData, c sal_Int32 nProperties = rProperties.size(); sal_uInt32 nCount = maPropertiesList.Count(); SvXMLAutoStylePoolPropertiesP_Impl *pProperties = 0; - for( sal_uInt32 i=0; i < nCount; i++ ) + sal_uInt32 i; + + for( i = 0; i < nCount; i++ ) { SvXMLAutoStylePoolPropertiesP_Impl *pIS = maPropertiesList.GetObject( i ); if( nProperties > pIS->GetProperties().size() ) |