Kaydet (Commit) 5745d7a0 authored tarafından Chris's avatar Chris Kaydeden (comit) Fridrich Strba

Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salplug.cxx

Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722
Reviewed-on: https://gerrit.libreoffice.org/2594Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 916d8982
...@@ -46,7 +46,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals ...@@ -46,7 +46,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
// SAL_USE_VCLPLUGIN=gtk3 (would ideally depend on experimental mode, but // SAL_USE_VCLPLUGIN=gtk3 (would ideally depend on experimental mode, but
// reading the experimental mode setting requires the UNO service manager // reading the experimental mode setting requires the UNO service manager
// which has not yet been instantiated): // which has not yet been instantiated):
if (!bForce && rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("gtk3"))) if (!bForce && rModuleBase == "gtk3")
{ {
return NULL; return NULL;
} }
...@@ -207,7 +207,7 @@ static SalInstance* check_headless_plugin() ...@@ -207,7 +207,7 @@ static SalInstance* check_headless_plugin()
osl_getCommandArg( i, &aParam.pData ); osl_getCommandArg( i, &aParam.pData );
if( aParam == "-headless" || aParam == "--headless" ) if( aParam == "-headless" || aParam == "--headless" )
{ {
return tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "svp" ) ) ); return tryInstance("svp");
} }
} }
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment