Fix compilation error with older GCC

The GCC 4.0 we still use for the "official" Mac OS X build says:
"error: conversion from ‘const char*’ to non-scalar type
‘rtl::OUString’ requested." Sigh, I guess there might be lots more of
these elsewhere in the code.

Change-Id: Ifad5722bbadd465ebfca1ac3f0b55f07a6895e12
This commit is contained in:
Tor Lillqvist
2013-02-14 17:25:55 +02:00
parent c91d353872
commit 9d67b621c5
3 changed files with 3 additions and 3 deletions

View File

@@ -505,7 +505,7 @@ UpdateCheckConfig::getServiceNames()
rtl::OUString
UpdateCheckConfig::getImplName()
{
return "vnd.sun.UpdateCheckConfig";
return rtl::OUString("vnd.sun.UpdateCheckConfig");
}
//------------------------------------------------------------------------------

View File

@@ -175,7 +175,7 @@ UpdateCheckJob::getServiceNames()
rtl::OUString
UpdateCheckJob::getImplName()
{
return "vnd.sun.UpdateCheck";
return rtl::OUString("vnd.sun.UpdateCheck");
}

View File

@@ -75,7 +75,7 @@ static uno::Sequence< rtl::OUString > getServiceNames()
static rtl::OUString getImplementationName()
{
return "vnd.sun.UpdateCheckUI";
return rtl::OUString("vnd.sun.UpdateCheckUI");
}
//------------------------------------------------------------------------------