summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-03-14 15:38:40 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-03-14 15:38:40 +0000
commit88ad36941075cc17973feb5396a431dbd304fa2f (patch)
tree297ad8bf1897b2f4fe78bb67ad4ac1a3f965bbee /vos
parentbd30f6dd5ec87a6ecf68837df34e5f03168ab18c (diff)
osl_getIOResource removed
Diffstat (limited to 'vos')
-rw-r--r--vos/source/process.cxx25
1 files changed, 3 insertions, 22 deletions
diff --git a/vos/source/process.cxx b/vos/source/process.cxx
index 3b77481f0bf7..b0365640e018 100644
--- a/vos/source/process.cxx
+++ b/vos/source/process.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: process.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mfe $ $Date: 2001-02-23 12:56:32 $
+ * last change: $Author: jbu $ $Date: 2001-03-14 16:38:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -422,26 +422,7 @@ OStartupInfo::~OStartupInfo()
sal_Bool OStartupInfo::acceptIOResource(OSocket& rSocket)
{
- if (! m_IoResources)
- {
- m_IoResources= new oslIOResource[MAX_RESOURCES];
- m_NoResources = 0;
-
- VOS_ASSERT(m_IoResources != 0);
-
- if (osl_getIOResources(m_IoResources, MAX_RESOURCES) != osl_Process_E_None)
- m_IoResources[0].Type = osl_Process_TypeNone;
- }
-
- if (m_IoResources[m_NoResources].Type == osl_Process_TypeSocket)
- {
- rSocket = OSocket(m_IoResources[m_NoResources].Descriptor.Socket);
-
- m_NoResources++;
-
- return sal_True;
- }
-
+ // jbu : functionality removed from vos
return sal_False;
}