summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/beans
diff options
context:
space:
mode:
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 0d1e34ee6ca5..d8743865f0b4 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -1330,7 +1330,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
// is new argument already set?
for ( int n = 0; n < nNumArgs; ++n )
{
- if ( aArguments[n].Name == aArgument.Name )
+ if ( aArguments[n].Name.equals(aArgument.Name) )
{
// substitute this argument
aArguments[n] = aArgument;