diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:04:28 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:04:28 +0000 |
commit | 4f31041f1d721b34bbd8f9a79e53aa12ff7d06ed (patch) | |
tree | 352c6acbd3da0fbf10c497c555ce8154cf7fa6f6 /dtrans | |
parent | 9d1911a2d1b5964187e3a5d1c985e7da24960f10 (diff) |
INTEGRATION: CWS ooo20031110 (1.2.104); FILE MERGED
2003/11/10 13:21:22 waratah 1.2.104.1: #i22301# Correct for scoping rules
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/generic/dtrans.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dtrans/source/generic/dtrans.cxx b/dtrans/source/generic/dtrans.cxx index 3b12fe950859..23bc32572be3 100644 --- a/dtrans/source/generic/dtrans.cxx +++ b/dtrans/source/generic/dtrans.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dtrans.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jl $ $Date: 2001-03-22 14:26:15 $ + * last change: $Author: rt $ $Date: 2003-12-01 18:04:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,7 +95,8 @@ sal_Bool SAL_CALL component_writeInfo(void * pServiceManager, void * pRegistryKe const Sequence< OUString > & rSNL = ClipboardManager_getSupportedServiceNames(); const OUString * pArray = rSNL.getConstArray(); - for ( sal_Int32 nPos = rSNL.getLength(); nPos--; ) + sal_Int32 nPos; + for ( nPos = rSNL.getLength(); nPos--; ) xNewKey->createKey( pArray[nPos] ); xNewKey = reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey( |