summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/dataaccess/datasource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/dataaccess/datasource.cxx')
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index adfe1f97138d..94cd6da18a1d 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -423,14 +423,14 @@ namespace
const AsciiPropertyValue* pSetting = _pKnownSettings;
for ( ; pSetting->AsciiName; ++pSetting )
{
- if ( !pDataSourceSetting->Name.compareToAscii( pSetting->AsciiName ) )
+ if ( pDataSourceSetting->Name.equalsAscii( pSetting->AsciiName ) )
{ // the particular data source setting is known
const DriverPropertyInfo* pAllowedDriverSetting = aDriverInfo.getConstArray();
const DriverPropertyInfo* pDriverSettingsEnd = pAllowedDriverSetting + aDriverInfo.getLength();
for ( ; pAllowedDriverSetting != pDriverSettingsEnd; ++pAllowedDriverSetting )
{
- if ( !pAllowedDriverSetting->Name.compareToAscii( pSetting->AsciiName ) )
+ if ( pAllowedDriverSetting->Name.equalsAscii( pSetting->AsciiName ) )
{ // the driver also allows this setting
bAllowSetting = sal_True;
break;