summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorChris <chris.sherlock79@gmail.com>2013-03-08 22:05:06 +1100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-08 12:59:49 +0000
commit5745d7a08f6a0cb450b662fadb5892f168850fae (patch)
treec98dfd5d12ad7af1e047ab2e93fce34ed5021495 /vcl/unx/generic
parent916d898209449bc88edfbf0d7a727bd0945124b7 (diff)
Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salplug.cxx
Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722 Reviewed-on: https://gerrit.libreoffice.org/2594 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/plugadapt/salplug.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index eb5f98a75fab..3d87977d3a58 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -46,7 +46,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
// SAL_USE_VCLPLUGIN=gtk3 (would ideally depend on experimental mode, but
// reading the experimental mode setting requires the UNO service manager
// which has not yet been instantiated):
- if (!bForce && rModuleBase.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("gtk3")))
+ if (!bForce && rModuleBase == "gtk3")
{
return NULL;
}
@@ -207,7 +207,7 @@ static SalInstance* check_headless_plugin()
osl_getCommandArg( i, &aParam.pData );
if( aParam == "-headless" || aParam == "--headless" )
{
- return tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "svp" ) ) );
+ return tryInstance("svp");
}
}
return NULL;