summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-12-01 17:04:51 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-12-01 17:04:51 +0000
commitc4d73b97ff3eeeb0291ef7fdba7798a75f499327 (patch)
tree3d7fde4f2a51bbb0fd1a85ce7422e574b6a71680 /unotools
parent4f31041f1d721b34bbd8f9a79e53aa12ff7d06ed (diff)
INTEGRATION: CWS ooo20031110 (1.42.36); FILE MERGED
2003/11/10 12:38:27 waratah 1.42.36.1: #i22301# Correct for scoping rules
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configitem.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 9b122765b70c..3af785fd5465 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: configitem.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: rt $ $Date: 2003-04-24 13:37:27 $
+ * last change: $Author: rt $ $Date: 2003-12-01 18:04:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -572,6 +572,8 @@ void ConfigItem::impl_unpackLocalizedProperties( const Sequence< OUString >
---------------------------------------------------------------------------*/
Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Sequence< rtl::OUString >& rNames)
{
+ sal_Int32 i;
+
// size of return list is fix!
// Every item must match to length of incoming name list.
sal_Int32 nCount = rNames.getLength();
@@ -579,7 +581,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se
// We must be shure to return a valid information everytime!
// Set default to non readonly ... similar to the configuration handling of this property.
- for (sal_Int32 i=0; i<nCount; ++i)
+ for ( i=0; i<nCount; ++i)
lStates[i] = sal_False;
// no access - no informations ...