From 88e207152052de4f771f2660668058ef0b7e768c Mon Sep 17 00:00:00 2001
From: "idk%eng.sun.com" <idk%eng.sun.com>
Date: Tue, 1 May 2001 01:13:28 +0000
Subject: [PATCH] *not part of the build* fix for 56706

---
 java/xpcom/connect/xpcom/bcORBComponent.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/java/xpcom/connect/xpcom/bcORBComponent.cpp b/java/xpcom/connect/xpcom/bcORBComponent.cpp
index 9977b093d240..5b844c308e59 100644
--- a/java/xpcom/connect/xpcom/bcORBComponent.cpp
+++ b/java/xpcom/connect/xpcom/bcORBComponent.cpp
@@ -40,7 +40,7 @@ NS_IMPL_NSGETMODULE("BlackConnectORB component",components);
 
 
 
-NS_IMPL_ISUPPORTS(bcORBComponent,NS_GET_IID(bcORBComponent));
+NS_IMPL_THREADSAFE_ISUPPORTS(bcORBComponent,NS_GET_IID(bcORBComponent));
 
 bcORBComponent::bcORBComponent() :
     orb(0)
@@ -50,17 +50,17 @@ bcORBComponent::bcORBComponent() :
 
 bcORBComponent::~bcORBComponent() {
     if (orb) {
-	delete orb; //nb should we destroy it?
+        delete orb; //nb should we destroy it?
     }
 }
 
 NS_IMETHODIMP bcORBComponent::GetORB(bcIORB **_orb) {
     if (!_orb) {
-	printf("--bcORBComponent::GetORB\n");
-	return NS_ERROR_NULL_POINTER;
+        printf("--bcORBComponent::GetORB\n");
+        return NS_ERROR_NULL_POINTER;
     }
     if (!orb) {
-	orb = new ORB();
+        orb = new ORB();
     }
     *_orb = orb;
     return NS_OK;