summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_runtime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_runtime.cxx')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 459e8875ded2..8194de9aa328 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -188,11 +188,11 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile )
OUString str;
if( bootstrapHandle.getFrom( USTR_ASCII( "PYUNO_LOGLEVEL" ), str ) )
{
- if( str.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "NONE" ) ) )
+ if ( str == "NONE" )
*pLevel = LogLevel::NONE;
- else if( str.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CALL" ) ) )
+ else if ( str == "CALL" )
*pLevel = LogLevel::CALL;
- else if( str.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ARGS" ) ) )
+ else if ( str == "ARGS" )
*pLevel = LogLevel::ARGS;
else
{
@@ -205,9 +205,9 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile )
*ppFile = stdout;
if( bootstrapHandle.getFrom( USTR_ASCII( "PYUNO_LOGTARGET" ), str ) )
{
- if( str.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "stdout" ) ) )
+ if ( str == "stdout" )
*ppFile = stdout;
- else if( str.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "stderr" ) ) )
+ else if ( str == "stderr" )
*ppFile = stderr;
else
{