summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TConnection.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-05 06:01:38 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-05 06:01:38 +0000
commit77a70f877c5c52fb7f7ec741e3b099f7582576d3 (patch)
tree87e3a99d9a383e9eb6ba6f3873790675434e0d54 /connectivity/source/commontools/TConnection.cxx
parent3127b625702690514c80cf3c6d31b5a0074bceff (diff)
#99549# move static inside method
Diffstat (limited to 'connectivity/source/commontools/TConnection.cxx')
-rw-r--r--connectivity/source/commontools/TConnection.cxx6
1 files changed, 3 insertions, 3 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;
}
// -----------------------------------------------------------------------------