diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_connection.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index 8fb63829bbb0..c148646e704d 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -181,13 +181,13 @@ static sal_Int32 readLogLevelFromConfiguration() OUString str; if( bootstrapHandle.getFrom( ASCII_STR( "PQ_LOGLEVEL" ), str ) ) { - if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("NONE")) ) + if ( str == "NONE" ) loglevel = LogLevel::NONE; - else if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ERROR")) ) + else if ( str == "ERROR" ) loglevel = LogLevel::ERROR; - else if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("SQL")) ) + else if ( str == "SQL" ) loglevel = LogLevel::SQL; - else if( str.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("INFO")) ) + else if ( str == "INFO" ) loglevel = LogLevel::INFO; else { |