summaryrefslogtreecommitdiffstats
path: root/bean/com
diff options
context:
space:
mode:
Diffstat (limited to 'bean/com')
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 36d622dc3b7b..dd2a93bf0518 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -1350,8 +1350,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
new com.sun.star.beans.PropertyValue[ nNumArgs + 1 ];
// copy current arguments
- for ( int n = 0; n < nNumArgs; ++n )
- aExtendedArguments[n] = aArguments[n];
+ System.arraycopy(aArguments, 0, aExtendedArguments, 0, nNumArgs);
// add new argument
aExtendedArguments[ nNumArgs ] = aArgument;