summaryrefslogtreecommitdiff
path: root/io/source/connector/ctr_socket.cxx
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-06-22 15:32:57 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-06-22 15:32:57 +0000
commit4409e1cfb5d33e57c1eba238bd5ab9d153cbbacd (patch)
treeb5a5977d54c51cd971011c26286c922acdd272c9 /io/source/connector/ctr_socket.cxx
parenta242da96dcd112e05ce9fa7f309d6618c61994f9 (diff)
#67468# Added unloading and context support
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r--io/source/connector/ctr_socket.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 6d26573f1649..1d3452b27a1b 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ctr_socket.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jbu $ $Date: 2001-03-15 11:09:54 $
+ * last change: $Author: jbu $ $Date: 2001-06-22 16:32:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,10 +125,16 @@ namespace stoc_connector {
_error(sal_False)
{
// make it unique
+ g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
m_sDescription += OUString( RTL_CONSTASCII_USTRINGPARAM( ",uniqueValue=" ) );
m_sDescription += OUString::valueOf( (sal_Int64) &m_socket , 10 );
}
+ SocketConnection::~SocketConnection()
+ {
+ g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
+ }
+
void SocketConnection::completeConnectionString()
{
sal_Int32 nPort;