summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/commontools/TConnection.cxx6
-rw-r--r--connectivity/source/inc/TConnection.hxx5
2 files changed, 5 insertions, 6 deletions
diff --git a/connectivity/source/commontools/TConnection.cxx b/connectivity/source/commontools/TConnection.cxx
index 070747bad9c5..290a4ed54bcd 100644
--- a/connectivity/source/commontools/TConnection.cxx
+++ b/connectivity/source/commontools/TConnection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TConnection.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: oj $ $Date: 2001-08-24 06:02:18 $
+ * last change: $Author: oj $ $Date: 2002-07-05 07:00:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,7 +70,6 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace::osl;
-::dbtools::OPropertyMap OMetaConnection::s_aPropertyNameMap;
//XUnoTunnel
sal_Int64 SAL_CALL OMetaConnection::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw (::com::sun::star::uno::RuntimeException)
{
@@ -97,6 +96,7 @@ Sequence< sal_Int8 > OMetaConnection::getUnoTunnelImplementationId()
// -----------------------------------------------------------------------------
::dbtools::OPropertyMap& OMetaConnection::getPropMap()
{
+ static ::dbtools::OPropertyMap s_aPropertyNameMap;
return s_aPropertyNameMap;
}
// -----------------------------------------------------------------------------
diff --git a/connectivity/source/inc/TConnection.hxx b/connectivity/source/inc/TConnection.hxx
index d3c0c9d7950b..0327f6ba2fff 100644
--- a/connectivity/source/inc/TConnection.hxx
+++ b/connectivity/source/inc/TConnection.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TConnection.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2001-09-27 13:48:37 $
+ * last change: $Author: oj $ $Date: 2002-07-05 07:01:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,7 +102,6 @@ namespace connectivity
{
protected:
::osl::Mutex m_aMutex;
- static ::dbtools::OPropertyMap s_aPropertyNameMap;
rtl_TextEncoding m_nTextEncoding; // the encoding which is used for all text conversions
public: