diff options
author | tpf <tpf@openoffice.org> | 2000-12-07 18:10:03 +0000 |
---|---|---|
committer | tpf <tpf@openoffice.org> | 2000-12-07 18:10:03 +0000 |
commit | eb166461540c238397ad9140b7f35dd21656a744 (patch) | |
tree | 74fc131b963284d363de7b75c7c3d8ef60b860c4 /jurt | |
parent | 27e17c2ace175ca71e871e933cdfa5078f65a5bf (diff) |
#81493# set bridge to null if not with correct name
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java index f6704f410521..368f57a52e71 100644 --- a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java +++ b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java @@ -2,9 +2,9 @@ * * $RCSfile: BridgeFactory.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: kr $ $Date: 2000-11-27 11:32:40 $ + * last change: $Author: tpf $ $Date: 2000-12-07 19:10:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -97,7 +97,7 @@ import com.sun.star.uno.UnoRuntime; * <p> * This component is only usable for remote bridges. * <p> - * @version $Revision: 1.4 $ $ $Date: 2000-11-27 11:32:40 $ + * @version $Revision: 1.5 $ $ $Date: 2000-12-07 19:10:03 $ * @author Kay Ramme * @see com.sun.star.uno.UnoRuntime * @since UDK1.0 @@ -207,9 +207,13 @@ public class BridgeFactory implements XBridgeFactory/*, XEventListener*/ { if(xBridge != null) { if(xBridge.getName().equals(sName)) break; + + else + xBridge = null; } } + if(DEBUG) System.err.println("##### " + getClass().getName() + ".getBridge:" + sName + " " + xBridge); return xBridge; |