From b73db446ac9681fdfc4ad602c6da7ce3e36a8588 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Nov 2015 14:16:35 +0200 Subject: java: combine nested if statements Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba --- .../com/sun/star/lib/uno/helper/InterfaceContainer.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'javaunohelper/com/sun') diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java index a61edc06acc8..e0fa1456e817 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java @@ -569,13 +569,10 @@ public class InterfaceContainer implements Cloneable while (itColl.hasNext()) { Object o= itColl.next(); - if (o != null) + if (o != null && UnoRuntime.areSame(o, curElem)) { - if (UnoRuntime.areSame(o, curElem)) - { - bExists= true; - break; - } + bExists= true; + break; } } } -- cgit breoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/UIConfig_vcl.mk
AgeCommit message (Expand)Author
2018-05-25vcl: Run gla11y on demo.uiSamuel Thibault