bean/com/sun/star/comp/beans/OOoBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0c48deb59ffb67ac0ddd315ba58872cbf978bc74 Author: Robert Antoni Buj i Gelonch <robert....@gmail.com> Date: Sat Oct 11 19:58:11 2014 +0200 bean: String comparison Change-Id: Id2449ac887c92f87deb3b871b178ac16d3d6b4b8 Reviewed-on: https://gerrit.libreoffice.org/11922 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 0d1e34e..d874386 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits