summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-11-16 17:06:02 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-11-16 18:21:38 +0000
commit41c77ac5e814e8f0080468ca79fe7c2473402720 (patch)
tree262f587a0b1394850e390c6e6b68da764c613c8f /scripting
parentec2e175384f89d183def1d53f33a6bb394278c87 (diff)
targetted cleanup of misc. vba pieces.
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx
index f2022785b448..40147caf284f 100644
--- a/scripting/source/dlgprov/dlgevtatt.cxx
+++ b/scripting/source/dlgprov/dlgevtatt.cxx
@@ -311,12 +311,12 @@ namespace dlgprov
sal_Int32 nControlCount = aControls.getLength();
Sequence< Reference< XInterface > > aObjects( nControlCount );
- Reference< XInterface >* pObjectsModify = aObjects.getArray();
+ Reference< XInterface >* pObjects2 = aObjects.getArray();
const Reference< XControl >* pControls = aControls.getConstArray();
- for ( sal_Int32 j = 0; j < nControlCount; ++j )
+ for ( sal_Int32 i2 = 0; i2 < nControlCount; ++i2 )
{
- pObjectsModify[j] = Reference< XInterface >( pControls[j], UNO_QUERY );
+ pObjects2[i2] = Reference< XInterface >( pControls[i2], UNO_QUERY );
}
nestedAttachEvents( aObjects, Helper, sDialogCodeName );
}