summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index c6e5f0966c6c..ea49739b9a5a 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -458,11 +458,10 @@ SAL_IMPLEMENT_MAIN()
// init params
Sequence< Any > aInitParams( aParams.getLength() );
- const OUString * p = aParams.getConstArray();
Any * pInitParams = aInitParams.getArray();
for ( sal_Int32 i = aParams.getLength(); i--; )
{
- pInitParams[i] <<= p[i];
+ pInitParams[i] <<= aParams[i];
}
// instance provider