summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-04-27 09:47:08 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-04-27 09:47:08 +0000
commitce7a70b4c112471fc8ac816b6f0813c1d311112a (patch)
tree168b193a49e87bfa7d6b4ff974cceb49c3711d81
parent4a5755ae7d429e187406d318fb0083f302d4c784 (diff)
replaced destoy with releasePipe
-rw-r--r--vos/source/pipe.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vos/source/pipe.cxx b/vos/source/pipe.cxx
index cc399f2dc2fe..9f650bd02261 100644
--- a/vos/source/pipe.cxx
+++ b/vos/source/pipe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pipe.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:18:16 $
+ * last change: $Author: jbu $ $Date: 2001-04-27 10:47:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,7 +154,7 @@ sal_Bool OPipe::create( const rtl::OUString& strName, TPipeOption Options )
// if this was a valid pipe, decrease reference
if ((m_pPipeRef) && (m_pPipeRef->release() == 0))
{
- osl_destroyPipe((*m_pPipeRef)());
+ osl_releasePipe((*m_pPipeRef)());
delete m_pPipeRef;
m_pPipeRef= 0;
}
@@ -179,7 +179,7 @@ sal_Bool OPipe::create( const rtl::OUString& strName,
// if this was a valid pipe, decrease reference
if ((m_pPipeRef) && (m_pPipeRef->release() == 0))
{
- osl_destroyPipe((*m_pPipeRef)());
+ osl_releasePipe((*m_pPipeRef)());
delete m_pPipeRef;
m_pPipeRef= 0;
}
@@ -207,7 +207,7 @@ OPipe& OPipe::operator= (const OPipe& pipe)
// if this was a valid pipe, decrease reference
if ((m_pPipeRef) && (m_pPipeRef->release() == 0))
{
- osl_destroyPipe((*m_pPipeRef)());
+ osl_releasePipe((*m_pPipeRef)());
delete m_pPipeRef;
m_pPipeRef= 0;
}
@@ -244,7 +244,7 @@ void OPipe::close()
{
if (m_pPipeRef && (m_pPipeRef->release() == 0))
{
- osl_destroyPipe((*m_pPipeRef)());
+ osl_releasePipe((*m_pPipeRef)());
delete m_pPipeRef;
}
m_pPipeRef= 0;
@@ -354,7 +354,7 @@ OStreamPipe& OStreamPipe::operator=(oslPipe Pipe)
// if this was a valid pipe, decrease reference
if (m_pPipeRef && (m_pPipeRef->release() == 0))
{
- osl_destroyPipe((*m_pPipeRef)());
+ osl_releasePipe((*m_pPipeRef)());
delete m_pPipeRef;
m_pPipeRef= 0;
}