summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/regpathhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/regpathhelper.cxx')
-rw-r--r--comphelper/source/misc/regpathhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/regpathhelper.cxx b/comphelper/source/misc/regpathhelper.cxx
index 898d1224b091..5c39ef684dc7 100644
--- a/comphelper/source/misc/regpathhelper.cxx
+++ b/comphelper/source/misc/regpathhelper.cxx
@@ -72,7 +72,7 @@ static sal_Bool retrievePortalUserDir( OUString *pDirectory )
{
if ( !osl_getCommandArg(--nArgs, &sArg.pData) )
{
- if ( sArg.indexOf(OUString::createFromAscii("-userid")) == 0 )
+ if ( sArg.indexOf(OUString( RTL_CONSTASCII_USTRINGPARAM( "-userid" ))) == 0 )
{
bIsPortalUser = sal_True;