summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_driver.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx
index 98206bed7ae3..5f1fedb72e36 100644
--- a/connectivity/source/drivers/postgresql/pq_driver.cxx
+++ b/connectivity/source/drivers/postgresql/pq_driver.cxx
@@ -329,7 +329,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL postgresql_sdbc_component_getFactory(
for( sal_Int32 i = 0 ; g_entries[i].create ; i ++ )
{
OUString implName = g_entries[i].getImplementationName();
- if( 0 == implName.compareToAscii( pImplName ) )
+ if( implName.equalsAscii( pImplName ) )
{
Reference< XComponentContext > defaultContext(
comphelper::getComponentContext( xSmgr ) );