summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Antoni Buj i Gelonch <robert.buj@gmail.com>2014-10-11 19:58:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-11 23:50:58 +0000
commit0c48deb59ffb67ac0ddd315ba58872cbf978bc74 (patch)
tree87c7189bd83e3b0c8dbca2d56d8502193a5203d4
parent581234b21368311d865fd1600c7ca62422ebb186 (diff)
bean: String comparison
Change-Id: Id2449ac887c92f87deb3b871b178ac16d3d6b4b8 Reviewed-on: https://gerrit.libreoffice.org/11922 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-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;