diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-07-05 06:01:38 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-07-05 06:01:38 +0000 |
commit | 77a70f877c5c52fb7f7ec741e3b099f7582576d3 (patch) | |
tree | 87e3a99d9a383e9eb6ba6f3873790675434e0d54 /connectivity | |
parent | 3127b625702690514c80cf3c6d31b5a0074bceff (diff) |
#99549# move static inside method
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/TConnection.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/inc/TConnection.hxx | 5 |
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: |