diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_driver.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_driver.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx index 9fb7fe05b11c..c020893df624 100644 --- a/connectivity/source/drivers/postgresql/pq_driver.cxx +++ b/connectivity/source/drivers/postgresql/pq_driver.cxx @@ -76,14 +76,7 @@ namespace pq_sdbc_driver OUString DriverGetImplementationName() { - static OUString *p; - if (! p ) - { - MutexGuard guard( osl::Mutex::getGlobalMutex() ); - static OUString instance( "org.openoffice.comp.connectivity.pq.Driver.noext" ); - p = &instance; - } - return *p; + return OUString( "org.openoffice.comp.connectivity.pq.Driver.noext" ); } Sequence< OUString > DriverGetSupportedServiceNames() |